decode_from_slice_with_context

Function decode_from_slice_with_context 

Source
pub fn decode_from_slice_with_context<Ctx, D, C: Config>(
    src: &[u8],
    config: C,
    context: Ctx,
) -> Result<(D, usize)>
where D: Decode<Ctx>,
Expand description

Decode a value from a byte slice with custom context