Skip to main content

write_chunk

Function write_chunk 

Source
pub fn write_chunk(out: &mut Vec<u8>, data: &[u8])
Expand description

Appends one chunk (header, data, CRLF). Empty data writes nothing, since an empty chunk would end the body.