Struct bitbuf::BitBuf [] [src]

pub struct BitBuf { /* fields omitted */ }

Methods

impl BitBuf
[src]

Creates a new BitBuf, initializing a new Vec. for the underlying buffer.

Consumes the BitBuf, returning the underlying Vec.

Returns a slice into the underlying Vec buffer. The current bit size of the Vec.

The current position of the cursor. The BitBuf does not insert, and will overwrite any data currently at the cursor position during writing.

Trait Implementations

impl Clone for BitBuf
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more