decode_borrow

Function decode_borrow 

Source
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.