# Functions
Marshal returns the encoding of v.
MarshalAll encodes all of its inputs and returns their concatenation.
MarshalBool writes a bool value as a single byte value.
MarshalTinySlice allows the marshaling of tiny slices, meaning slices with a length of maximum 255 (elements).
MarshalUint16 marshals an uint16 value as a 2-byte little-endian value.
MarshalUint24 marshals an uint24 value as a 3-byte little-endian value.
MarshalUint32 marshals an uint32 value as a 4-byte little-endian value.
MarshalUint64 marshals an uint64 value as an 8-byte little-endian value.
MarshalUint8 writes an uint8 value as a single byte value.
NewDecoder returns a new decoder that reads from r.
NewEncoder returns a new encoder that writes to w.
ReadDataSlice reads a byte slice length of maximum 4 bytes followed by the number of bytes specified in the (length) prefix.
ReadObject reads and decodes a length-prefixed and marshalled object.
Unmarshal decodes the encoded value b and stores it in v, which must be a pointer.
UnmarshalAll decodes the encoded values in b and stores them in vs, which must be pointers.
UnmarshalBool reads a bool value as a single byte value.
UnmarshalTinySlice allows the unmarshaling of tiny slices, meaning slices with a length of maximum 255 (elements).
UnmarshalUint16 unmarshals a 2-byte little-endian value as an uint16 value.
UnmarshalUint24 unmarshals a 3-byte little-endian value as an uint32 value.
UnmarshalUint32 unmarshals a 4-byte little-endian value as an uint32 value.
UnmarshalUint64 unmarshals an 8-byte little-endian value as an uint64 value.
UnmarshalUint8 reads a single byte and casts its to an uint8 value.
WriteDataSlice writes a length-prefixed byte slice to w.
WriteObject writes a length-prefixed object to w.
# Constants
5 MB.
# Variables
ErrSliceTooLarge is an error when encoded slice is too large.
# Interfaces
No description provided by the author
No description provided by the author