Uint16

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPort

func GetPort(listener string) simplebuffer.Serializer

Types

type Uint16

type Uint16 struct {
	Bytes [2]byte
}

func New

func New() *Uint16

func (*Uint16) Decode

func (p *Uint16) Decode(b []byte) (out []byte)

func (*Uint16) DecodeOne

func (p *Uint16) DecodeOne(b []byte) *Uint16

func (*Uint16) Encode

func (p *Uint16) Encode() []byte

func (*Uint16) Get

func (p *Uint16) Get() uint16

func (*Uint16) Put

func (p *Uint16) Put(i uint16) *Uint16

func (*Uint16) String

func (p *Uint16) String() string

Jump to

Keyboard shortcuts

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