Int16

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int16

type Int16 struct {
	Bytes [2]byte
}

Int16 is a 16 bit signed integer

func New

func New() *Int16

func (*Int16) Decode

func (b *Int16) Decode(by []byte) (out []byte)

func (*Int16) DecodeOne

func (b *Int16) DecodeOne(by []byte) *Int16

func (*Int16) Encode

func (b *Int16) Encode() []byte

func (*Int16) Get

func (b *Int16) Get() int16

func (*Int16) Put

func (b *Int16) Put(bits int16) *Int16

Jump to

Keyboard shortcuts

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