Module lewton::bitpacking
[−]
[src]
Vorbis bitpacking layer
Functionality to read content from the bitpacking layer.
Implements vorbis spec, section 2.
The most important struct of this mod is the BitpackCursor
struct.
It can be instantiated using BitpackCursor::new()
.
Note that this implementation doesn't fully align with the spec in the regard that it assumes a byte is an octet. This is no problem on most architectures. This non-alignment to the spec is due to the fact that the rust language is highly leaned towards byte == u8, and doesn't even have a builtin single byte type.
Structs
BitpackCursor |
A Cursor on slices to read numbers and bitflags, bit aligned. |