Trait stream_cipher::StreamCipherSeek [−][src]
pub trait StreamCipherSeek { 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.