Trait il2_iltags::io::data::StringValueReader[][src]

pub trait StringValueReader {
    fn read_string(&mut self, size: usize) -> Result<String>;
}
Expand description

This trait adds the ability to read UTF-8 String values.

Required methods

Reads an UTF-8 String with a given size.

Arguments:

  • size: Number of bytes to read.

Returns:

  • Ok(v): For success;
  • Err(_): For failure;

Trait Implementations

Deserializes an UTF-8 String with a given size. Read more

Implementors