plinth/javascript/compression_stream

Functions

pub fn compress(
  data: BitArray,
  encoding: String,
) -> Promise(BitArray)

For encoding, pass “gzip” or “deflate”

Search Document