Function rmp::decode::read_str_ref
source ยท pub fn read_str_ref(
rd: &[u8],
) -> Result<&[u8], DecodeStringError<'_, BytesReadError>>
๐Deprecated since 0.8.6: useless, use
read_str_from_slice
insteadExpand description
Attempts to read and decode a string value from the reader, returning a borrowed slice from it.