Trait encdec::DecodeExt

source ·
pub trait DecodeExt<'a>: Decode<'a> {
    fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>  { ... }
}
Expand description

Extensions to Decode trait for decodable objects

Provided Methods§

Helper to iterate over decodable objects in a sized buffer.

Note that objects must be -internally- sized as this is a greedy operation

Implementors§

Blanket implementation for all Decode types