Skip to main content

ReadStringExt

Trait ReadStringExt 

Source
pub trait ReadStringExt: Read {
    // Provided method
    fn read_fixed_size_string(&mut self, len: usize) -> Result<String, Error> { ... }
}
Expand description

Read a fixed size string

Provided Methods§

Source

fn read_fixed_size_string(&mut self, len: usize) -> Result<String, Error>

Read the fixed size string

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R: Read + ?Sized> ReadStringExt for R