pub struct BitReadBE<'a> { /* private fields */ }
Expand description

A big-endian reader.

It contains the data structures necessary to create a big-endian reader.

Trait Implementations

Creates a new bitreader with an internal buffer associated to it.

Tells the number of bits read from the internal buffer.

Tells the number of bits still available in the internal buffer.

Discard a certain number of bits from the internal buffer.

Returns a single bit from the internal buffer.

Returns n bits from the internal buffer as a 64-bit sequence.

Returns n bits from the internal buffer as a 32-bit sequence.

Peeks the next bit present in the internal buffer.

Peeks the next 32-bit sequence present in the internal buffer.

Peeks the next 64-bit sequence present in the internal buffer.

Aligns the bits present in the internal buffer.

Peeks n bits from the cache.

Removes n bits from the cache.

Merges two sequences of bits together.

Builds a new cache.

Tells if it is still possible to read bits from an internal buffer.

Gets a 32-bits sequence from an internal buffer.

Gets a 64-bits sequence from an internal buffer.

Gets the number of bits left in an internal buffer.

Extracts a 32-bit sequence from an internal buffer and saves it within an internal cache. Read more

Extracts a 64-bit sequence from an internal buffer and saves it within an internal cache. Read more

Returns n bits from an internal buffer.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Reads the codeword from a bitstream and returns its value.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.