Macros§
- debugln
- derive_
index - field
- field_
array - format_
array - Format array in a specific patterns
- fromBARK
- fromMEL
- fromOC
- fromdB
- icount
- ilog
- read_
bits - Read bits of data using
BitReader
- read_
f32 - Read a
f32
usingBitReader
- read_
slice - Read a byte array
slice
using theBitReader
- read_
string - Read a sized string using the
BitReader
- return_
Err - rint
- toBARK
- toMEL
- toOC
- todB
- unitnorm
- vecvec
- write_
bits - Write bits of data using
BitWriter<W>
- write_
f32 - Write a
f32
usingBitWriter<W>
- write_
slice - Write a slice to the
BitWriter
- write_
string - Write a sized string to the
BitWriter
Structs§
- BitReader
- BitReader: read vorbis data bit by bit
- BitWriter
- BitWriter: write vorbis data bit by bit
- Bitwise
Data - A utility for you to manipulate data bitwise, mainly to concatenate data in bits or to split data from a specific bit position.This is mainly used for Vorbis data parsing.
- Nest
VecFormatter
Constants§
Functions§
- align
- Alignment calculation
- get_
vorbis_ headers_ from_ ogg_ packet_ bytes - This function extracts data from some Ogg packets, the packets contains the Vorbis headers.There are 3 kinds of Vorbis headers, they are the identification header, the metadata header, and the setup header.
- shift_
data_ to_ back - Shift an array of bits to the back. In a byte, the higher bits are the back bits.
- shift_
data_ to_ front - Shift an array of bits to the front. In a byte, the lower bits are the front bits.
- transmute_
vector - Transmute vector, change its type, but not by cloning it or changing its memory location or capacity.Will panic or crash if you don’t know what you are doing.
Type Aliases§
- BitWriter
Cursor - The specialized
BitWriter
that usesCursorVecU8>
as its sink. - BitWriter
Obj - The specialized
BitWriter
that usesBox<dyn Writer>
as its sink.