Struct IntoVec
pub struct IntoVec<'d> { /* private fields */ }
A decoding sink into a vector.
See Decoder::into_vec on how to create this type.
Implementations
impl IntoVec<'_>
fn decode(&mut self, read: &[u8]) -> VectorResultDecode data from a slice.
This will read data until the slice is empty or an end marker is reached.
fn decode_all(self, read: &[u8]) -> VectorResultDecode data from a slice, requiring an end marker.