pub fn read_str_utf8(&mut self, size: Word) -> Hopefully<String> {
    let buf = self.read_bytes(size)?;
    match str::from_utf8(&buf) {
      Ok(v) => Ok(v.to_string()),
      Err(e) => {
        let msg = format!("{}Invalid UTF-8 sequence: {}", module(), e);
        Err(ReadError::ReadFailed(msg))
      },
    }
  }
/// Read `size` characters and return as a string
Read `size` characters and return as a string
Read ` size ` characters and return as a string
pub fn read_str_utf8(&mut self, size: Word) -> Hopefully<String> {
    let buf = self.read_bytes(size)?;
    match str::from_utf8(&buf) {
      Ok(v) => Ok(v.to_string()),
      Err(e) => {
        let msg = format!("{}Invalid UTF-8 sequence: {}", module(), e);
        Err(ReadError::ReadFailed(msg))
      },
    }
  }
pub fn read_str_utf8 ( & mut self , size : Word ) -> Hopefully < String > { let buf = self . read_bytes ( size ) ? ; match str :: from_utf8 ( & buf ) { Ok ( v ) => Ok ( v . to_string ( ) ) , Err ( e ) => { let msg = format ! ( " " module ( ) e ) ; Err ( ReadError :: ReadFailed ( msg ) ) } , } }
Read `size` characters and return as a string
Read ` size ` characters and return as a string
&mut self
size
Word