pub trait Builder {
// Required methods
fn length(&self) -> usize;
fn into_mut_vec(&self, data: &mut Vec<u8>, pos: usize);
// Provided method
fn into_vec(&self) -> Vec<u8> ⓘ { ... }
}
Expand description
An abstraction over a suspended computation involving a sequence of bytes.
Required Methods§
Sourcefn into_mut_vec(&self, data: &mut Vec<u8>, pos: usize)
fn into_mut_vec(&self, data: &mut Vec<u8>, pos: usize)
Serializes the value of the computation into a mutable byte vector.