# README
go-binaryext
Package binaryext provides functions that supplement the golang encoding/binary library. In particular, while encoding/binary provides varint encoding, binaryext provides binary encoding of straight integers, providing twice the efficiency since all 8 bits in a byte are available for use (rather than 7 with varint).
# Functions
Int16 decodes a int16 from []byte.
Int32 decodes a int32 from []byte.
Int64 decodes a int64 from []byte.
Int8 decodes a int8 from []byte.
PutInt16 encodes a int16 to []byte.
PutInt32 encodes a int32 to []byte.
PutInt64 encodes a int64 to []byte.
PutInt8 encodes a int8 to []byte.
PutUint16 encodes a uint16 to []byte.
PutUint32 encodes a uint32 to []byte.
PutUint64 encodes a uint64 to []byte.
PutUint8 encodes a uint8 to []byte.
Uint16 decodes a uint16 from []byte.
Uint32 decodes a uint32 from []byte.
Uint64 decodes a uint64 from []byte.
Uint8 decodes a uint8 from []byte.
# Variables
ErrEmpty occurs when an empty slice of bytes is received for writing to a type.
ErrOverflow occurs when more bytes are provided than can be handled by the receiving type.