Function sega_cmp::create_header
[−]
[src]
pub fn create_header(decompressed_size: i32, compression_type: Size) -> Vec<u8>
Writes a CMP header; this header is expected to come at the beginning of a compressed CMP stream.
decompressed_size
is the size of the slice passed to compress
,
while compression_type
is the same value passed to compress
.