IP

package
v0.2.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2019 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IP

type IP struct {
	Length byte
	Bytes  []byte
}

func New

func New() *IP

func (*IP) Decode

func (i *IP) Decode(b []byte) (out []byte)

func (*IP) DecodeOne

func (i *IP) DecodeOne(b []byte) *IP

func (*IP) Encode

func (i *IP) Encode() []byte

func (*IP) Get

func (i *IP) Get() *net.IP

func (*IP) Put

func (i *IP) Put(ip *net.IP) *IP

func (*IP) String

func (i *IP) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL