pub fn decode_borrow<'de, D: BorrowDecode<'de>>(
r: &'de [u8],
) -> Result<D, DecodeError>Expand description
Decode a decodable type by borrowing from the given slice.
pub fn decode_borrow<'de, D: BorrowDecode<'de>>(
r: &'de [u8],
) -> Result<D, DecodeError>Decode a decodable type by borrowing from the given slice.