Skip to main content

paste_to_vec

Function paste_to_vec 

Source
pub fn paste_to_vec(file_data: &[&[u8]], config: &PasteConfig) -> Vec<u8> 
Expand description

Build the paste output as a Vec, then return it for the caller to write. This allows the binary to use raw write() for maximum throughput.