[][src]Function protocol::util::read_string

pub fn read_string(
    byte_count: usize,
    read: &mut dyn Read,
    settings: &Settings
) -> Result<String, Error>

Reads a string of specified length from a stream.