gzlib

Types

pub opaque type CompressionLevel

Constants

pub const default_compression: CompressionLevel
pub const max_compression: CompressionLevel
pub const min_compression: CompressionLevel
pub const no_compression: CompressionLevel

Functions

pub fn compress(data: BitArray) -> BitArray
pub fn compress_with_level(
  data: BitArray,
  level: CompressionLevel,
) -> BitArray
pub fn compression_level(
  level: Int,
) -> Result(CompressionLevel, Nil)
pub fn continue_crc32(init: Int, data: BitArray) -> Int
pub fn crc32(data: BitArray) -> Int
pub fn uncompress(data: BitArray) -> BitArray
Search Document