# README
encoder
Binary struct encoder for Go. Fork of go's pkg encoding/binary.
# Functions
DeserializeAtomic deserializes `in` buffer into `data` parameter.
DeserializeRaw deserializes `in` buffer into return parameter.
DeserializeRawExact deserializes `in` buffer into return parameter.
DeserializeRawToValue deserializes `in` buffer into `dst`'s type and returns the number of bytes used and the value of the buffer.
DeserializeString deserializes a string from []byte, returning the string and the number of bytes read.
DeserializeUint32 serializes a uint32.
Serialize returns serialized basic type-based `data` parameter.
SerializeAtomic encodes an integer or boolean contained in `data` to bytes.
SerializeString serializes a string to []byte.
SerializeUint32 serializes a uint32.
Size returns how many bytes would it take to encode the value v, which must be a fixed-size value (struct) or a slice of fixed-size values, or a pointer to such data.
TagMaxLen returns the maxlen value tagged on a struct.
TagOmitempty returns true if the tag specifies omitempty.
# Variables
ErrBufferOverflow bytes in output buffer not enough to serialize expected type.
ErrBufferUnderflow bytes in input buffer not enough to deserialize expected type.
ErrInvalidBool is returned if the decoder encounters a value other than 0 or 1 for a bool type field.
ErrInvalidOmitEmpty field tagged with omitempty and it's not last one in struct.
ErrMapDuplicateKeys encountered duplicate map keys while decoding a map.
ErrMaxLenExceeded a specified maximum length was exceeded when serializing or deserializing a variable length field.
ErrRemainingBytes bytes remain in buffer after deserializing object.