Trait Stream
rs_streams
pub trait Stream: Drop { fn tell(&self) -> usize; fn size(&self) -> usize; }
fn tell(&self) -> usize
get the current position
fn size(&self) -> usize
get the size of the stream
impl Stream for FileReader
impl Stream for FileWriter
impl Stream for MemoryStreamReader
impl Stream for MemoryStreamWriter