[−][src]Function hpk::compress
pub fn compress(
options: &CompressOptions,
r: &mut dyn Read,
w: &mut dyn Write
) -> Result<u64, HpkError>
Compresses the data with the encoder used
if no data is written at all the hpk compression header is written without any chunks it's the same behaviour as in a DLC file for Tropico 4