Function write_chunk

Source
fn write_chunk(out: &mut Vec<u8>, typ: &[u8; 4], data: &[u8])