Bit reading helpers.
Public Member Functions | |
| BitReader (Stream input) | |
| bool | Reset () |
| uint | ReadBits (int n_bits) |
Public Attributes | |
| const int | READ_SIZE = 4096 |
| const int | IBUF_SIZE = (2 * READ_SIZE + 32) |
| const int | IBUF_MASK = (2 * READ_SIZE - 1) |
| byte[] | buf_ |
| Stream | input_ |
| int | buf_ptr_ |
| uint | val_ |
| int | pos_ |
| int | bit_pos_ |
| int | bit_end_pos_ |
| bool | eos_ |
Static Public Attributes | |
| static readonly uint[] | kBitMask |
Package Functions | |
| void | ReadMoreInput () |
| void | FillBitWindow () |
|
inline |
|
inlinepackage |
|
inline |
|
inlinepackage |
|
inline |
| int Brotli.BitReader.bit_end_pos_ |
| int Brotli.BitReader.bit_pos_ |
| byte [] Brotli.BitReader.buf_ |
| int Brotli.BitReader.buf_ptr_ |
| bool Brotli.BitReader.eos_ |
| const int Brotli.BitReader.IBUF_MASK = (2 * READ_SIZE - 1) |
| const int Brotli.BitReader.IBUF_SIZE = (2 * READ_SIZE + 32) |
| Stream Brotli.BitReader.input_ |
|
static |
| int Brotli.BitReader.pos_ |
| const int Brotli.BitReader.READ_SIZE = 4096 |
| uint Brotli.BitReader.val_ |