Trait stream_cipher::SyncStreamCipherSeek
source · [−]pub trait SyncStreamCipherSeek {
fn current_pos(&self) -> u64;
fn seek(&mut self, pos: u64);
}
Expand description
Synchronous stream cipher seeking trait.
Required methods
fn current_pos(&self) -> u64
fn current_pos(&self) -> u64
Return current position of a keystream in bytes from the beginning.