decode_borrow_format

Function decode_borrow_format 

Source
pub fn decode_borrow_format<'de, F, D: BorrowDecode<'de, F>>(
    r: &'de [u8],
) -> Result<D, DecodeError>
Expand description

Decode a decodable type by borrowing from the given slice with a given format type.