Trait simple_bytes::BytesSeek[][src]

pub trait BytesSeek {
    fn position(&self) -> usize;
fn seek(&mut self, pos: usize); }
Expand description

Sets the internal position for writing or reading.

Required methods

Returns the internal position.

Sets the internal position.

Implementors

Returns the internal position.

Sets the internal position.

Panics

If the position exceeds the slice.

Returns the internal position.

Sets the internal position.

Panics

If the position exceeds the slice.

Returns the internal position.

Sets the internal position, allocating more space if the position is bigger than the Vec.

Sets the internal position, allocating more space if the position is bigger than the Vec.

Sets the internal position, allocating more space if the position is bigger than the Vec.

Sets the internal position.

Panics

If the position exceeds the slice.

Sets the internal position.

Panics

If the position exceeds the slice.

Returns the internal position.

Sets the internal position.

Panics

Depending on the implementation.

Sets the internal position.

Panics

If the position exceeds the slice.