package
3.8.0+incompatible
Repository: https://github.com/bottos-project/bottos.git
Documentation: pkg.go.dev
# Functions
Decode is to encode message.
Encode is to encode message.
Marshal is to serialize the message.
PackArraySize is to pack a given value and writes it into the specified writer.
PackBin is to pack a given value and writes it into the specified writer.
PackBin16 is to pack a given value and writes it into the specified writer.
PackBin32 is to pack a given value and writes it into the specified writer.
PackStr16 is to pack a given value and writes it into the specified writer.
PackUint16 is to pack a given value and writes it into the specified writer.
PackUint32 is to pack a given value and writes it into the specified writer.
PackUint64 is to pack a given value and writes it into the specified writer.
PackUint8 is to pack a given value and writes it into the specified writer.
Unmarshal is to unserialize the message.
UnpackArraySize is to unpack message.
UnpackBin is to unpack message.
UnpackBin16 is to unpack message.
UnpackStr16 is to unpack message.
UnpackUint16 is to unpack message.
UnpackUint32 is to unpack message.
UnpackUint64 is to unpack message.
UnpackUint8 is to unpack message.
# Constants
ARRAY16 is array size type identifier.
BIN16 is byte array type identifier.
BIN32 is byte array type identifier.
FIRSTBYTEMASK is first byte mask.
FIXARRAYMAX is fixarray maxnum.
FIXMAPMAX is fixmap maxnum.
FIXRAWMAX is fix raw max.
LEN_INT32 value.
LEN_INT64 value.
MAX16BIT value.
NEGFIXNUM is negfix maxnum.
REGULAR_UINT16_MAX value.
REGULAR_UINT32_MAX value.
REGULAR_UINT7_MAX value.
REGULAR_UINT8_MAX value.
SPECIAL_INT16 value.
SPECIAL_INT32 value.
SPECIAL_INT64 value.
SPECIAL_INT8 value.
STR16 is string type identifier.
UINT16 is uint16.
UINT32 is uint32.
UINT64 is uint64.
UINT8 is uint8.