njs/zlib

Types

pub type ZlibOptions {
  ZlibOptions(
    chunk_size: Int,
    dictionary: buffer.Buffer,
    level: Int,
    mem_level: Int,
    strategy: Int,
    window_bits: Int,
  )
}

Constructors

  • ZlibOptions(
      chunk_size: Int,
      dictionary: buffer.Buffer,
      level: Int,
      mem_level: Int,
      strategy: Int,
      window_bits: Int,
    )

Values

pub fn constants_z_best_compression() -> Int
pub fn constants_z_best_speed() -> Int
pub fn constants_z_default_compression() -> Int
pub fn constants_z_default_strategy() -> Int
pub fn constants_z_filtered() -> Int
pub fn constants_z_fixed() -> Int
pub fn constants_z_huffman_only() -> Int
pub fn constants_z_no_compression() -> Int
pub fn constants_z_rle() -> Int
pub fn deflate_raw_sync(data: a, options: o) -> buffer.Buffer
pub fn deflate_sync(data: a, options: o) -> buffer.Buffer
pub fn inflate_raw_sync(data: a) -> buffer.Buffer
pub fn inflate_sync(data: a) -> buffer.Buffer
Search Document