Skip to main content

get_string_owned

Function get_string_owned 

Source
pub fn get_string_owned<B: Buf>(buf: &mut B) -> Result<String, ProtocolError>
Expand description

ยงErrors

Returns the underlying protocol error when input is truncated, contains an invalid length or tag, or cannot be encoded for the selected version.