Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOutOfSpace = errors.New("out of buffer space")
Functions ¶
func DecodeOnoff ¶
Returns the number of BITS decoded. Returns ErrOutOfSpace if the decoded bit stream is larger than 'out'
func DecodeOnoff3 ¶
Returns the number of BITS decoded. Returns ErrOutOfSpace if the decoded bit stream is larger than 'out'
func EncodeOnoff ¶
Encode the given bit stream using out on/off encoding. Returns the number of bytes written into 'out'. If the resulting bit stream ends up being larger than 'out', then abort and return ErrOutOfSpace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.