pub fn write_chunk(proto: &Proto, types: Option<&ChunkTypes>) -> Vec<u8> ⓘ
Saves a main chunk, plus the types it exports if you give them.