Trait encdec_base::decode::DecodePrefixed
source · [−]pub trait DecodePrefixed<'a, P: Decode<'a>> {
type Output: Debug;
type Error: Debug;
fn decode_prefixed(
buff: &'a [u8]
) -> Result<(Self::Output, usize), Self::Error>;
}Expand description
Decode for fields with prefixed lengths