Skip to main content

flush_to_vec

Function flush_to_vec 

Source
pub fn flush_to_vec<T>(encoder: &mut T) -> Vec<u8> 
where T: Encoder + ?Sized,
Expand description

Flushes the output of an Encoder into a vector.