Struct bitstream::padding::LengthPadding [] [src]

pub struct LengthPadding {}

LengthPadding can be used encode the number of bits in the bit stream.

When using this padding, an extra byte is appended at the end of the stream. This byte indicates how many bots in the previous byte are valid.

Methods

impl LengthPadding
[src]

Create a new instance

Trait Implementations

impl Debug for LengthPadding
[src]

Formats the value using the given formatter.

impl Default for LengthPadding
[src]

Returns the "default value" for a type. Read more

impl Padding for LengthPadding
[src]

Get the maximum size of the padding. Read more

Pad the last bits of the stream. Read more

Determine how many bits are left to read. Read more