Documentation ¶
Overview ¶
Package obu implements tools for working with the Open Bitstream Unit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedToReadLEB128 = errors.New("payload ended before LEB128 was finished")
ErrFailedToReadLEB128 indicates that a buffer ended before a LEB128 value could be successfully read
Functions ¶
func ReadLeb128 ¶
ReadLeb128 scans an buffer and decodes a Leb128 value. If the end of the buffer is reached and all MSB are set an error is returned
func WriteToLeb128 ¶ added in v1.8.4
WriteToLeb128 writes a uint to a LEB128 encoded byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.