pub fn read_string(buffer: &mut &[u8]) -> Result<String>
Read a length-prefixed string from a byte slice
This is the synchronous version used for parsing in-memory buffers. For async I/O, use WireFormat::read_string instead.
WireFormat::read_string