[][src]Trait stream_cipher::SyncStreamCipherSeek

pub trait SyncStreamCipherSeek {
    fn current_pos(&self) -> u64;
fn seek(&mut self, pos: u64); }

Synchronous stream cipher seeking trait.

Required methods

fn current_pos(&self) -> u64

Return current position of a keystream in bytes from the beginning.

fn seek(&mut self, pos: u64)

Seek keystream to the given pos in bytes.

Loading content...

Implementors

Loading content...