pub trait DecodeExt<'a>: Decode<'a> {
// Provided method
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ { ... }
}
Expand description
Extensions to Decode
trait for decodable objects
Provided Methods§
sourcefn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ
Helper to iterate over decodable objects in a sized buffer.
Note that objects must be -internally- sized as this is a greedy operation