[][src]Trait binjs_io::bytes::strings::ReadStr

pub trait ReadStr {
    fn read_string(&mut self, bytes: usize) -> Result<String, Error>;
}

Utility: An extension of Read that reads bytes bytes and attempts to convert them into a string.

Required methods

fn read_string(&mut self, bytes: usize) -> Result<String, Error>

Loading content...

Implementations on Foreign Types

impl ReadStr for Cursor<Vec<u8>>[src]

Loading content...

Implementors

Loading content...