This version of the module is deprecated: Continued as moonbit-community/zipc, which is maintained and builds with current MoonBit. Its API may differ; see its README when migrating.
bobzhang/zipc/deflate does not have a README file
pub struct GzipData {
compressed_bytes : Bytes
original_size : Int
crc32_checksum : Crc32
filename : String?
comment : String?
modification_time : Int
}pub enum Level {
None
Fast
Default
Best
}fn deflate_decompress_bytes(compressed_data : Bytes, _original_size : Int) -> Bytes raise Errorfn deflate_decompress_raw_bytes(compressed_data : Bytes, _original_size : Int) -> Bytes raise Errorfn zlib_to_bytes(compressed_data : Bytes, original_size : Int) -> Bytes raise ErrorInstall
Download zipZIP archive and deflate codec for MoonBit - ported from OCaml zipc library