Module

Node.Zlib

Package
purescript-node-zlib
Repository
purescript-node/purescript-node-zlib

Module contains the following:

  • Functions that work on the Zlib streams, regardless of which compression is used
    • toDuplex
    • bytesWritten
  • create* and create*' functions that create a Transformer stream which compresses/decompresses Stream-based data. Intended to be used with Stream.pipeline.
  • <algorithm>* functions, which mutates a buffer by compressing/decompressing the data within. Comes in 3 variants:
    • *Sync/*Sync' - synchronous version with/without options
    • */*' - assynchronous version with/without options
    • *Aff/*Aff' - Aff-based assynchronous version with/without options

#toDuplex Source

toDuplex :: forall compression. ZlibStream compression -> Duplex

#bytesWritten Source

bytesWritten :: forall compression. ZlibStream compression -> Effect Number

#createBrotliCompress' Source

#createBrotliDecompress' Source

#createDeflateRaw' Source

#createDeflate' Source

createDeflate' :: forall r trash. Union r trash DeflateOptions => Record r -> Effect (ZlibStream (Zlib Deflate))

#createGzip' Source

createGzip' :: forall r trash. Union r trash GzipOptions => Record r -> Effect (ZlibStream (Zlib Gzip))

#createInflateRaw' Source

#createInflate' Source

createInflate' :: forall r trash. Union r trash InflateOptions => Record r -> Effect (ZlibStream (Zlib Inflate))

#createGunzip' Source

createGunzip' :: forall r trash. Union r trash GunzipOptions => Record r -> Effect (ZlibStream (Zlib Gunzip))

#createUnzip' Source

createUnzip' :: forall r trash. Union r trash InflateOptions => Record r -> Effect (ZlibStream (Zlib Unzip))

#brotliCompressSync Source

#brotliCompressSync' Source

brotliCompressSync' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliCompress) => Buffer -> Record r -> Effect Unit

#brotliCompress' Source

brotliCompress' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliCompress) => Buffer -> Record r -> Effect Unit -> Effect Unit

#brotliCompressAff Source

#brotliCompressAff' Source

brotliCompressAff' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliCompress) => Buffer -> Record r -> Aff Unit

#brotliDecompressSync Source

#brotliDecompressSync' Source

brotliDecompressSync' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliDecompress) => Buffer -> Record r -> Effect Unit

#brotliDecompress' Source

brotliDecompress' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliDecompress) => Buffer -> Record r -> Effect Unit -> Effect Unit

#brotliDecompressAff Source

#brotliDecompressAff' Source

brotliDecompressAff' :: forall r trash. Union r trash (maxOutputLength :: Int | BrotliOptions BrotliDecompress) => Buffer -> Record r -> Aff Unit

#deflateRawSync' Source

deflateRawSync' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit

#deflateRaw' Source

deflateRaw' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#deflateRawAff Source

#deflateRawAff' Source

deflateRawAff' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Aff Unit

#deflateSync' Source

deflateSync' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit

#deflate' Source

deflate' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#deflateAff Source

#deflateAff' Source

deflateAff' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Aff Unit

#gzipSync' Source

gzipSync' :: forall r trash. Union r trash (maxOutputLength :: Int | GzipOptions) => Buffer -> Record r -> Effect Unit

#gzip' Source

gzip' :: forall r trash. Union r trash (maxOutputLength :: Int | GzipOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#gzipAff' Source

gzipAff' :: forall r trash. Union r trash (maxOutputLength :: Int | GzipOptions) => Buffer -> Record r -> Aff Unit

#inflateRawSync' Source

inflateRawSync' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Effect Unit

#inflateRaw' Source

inflateRaw' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#inflateRawAff Source

#inflateRawAff' Source

inflateRawAff' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Aff Unit

#inflateSync' Source

inflateSync' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Effect Unit

#inflate' Source

inflate' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#inflateAff Source

#inflateAff' Source

inflateAff' :: forall r trash. Union r trash (maxOutputLength :: Int | InflateOptions) => Buffer -> Record r -> Aff Unit

#gunzipSync' Source

gunzipSync' :: forall r trash. Union r trash (maxOutputLength :: Int | GunzipOptions) => Buffer -> Record r -> Effect Unit

#gunzip' Source

gunzip' :: forall r trash. Union r trash (maxOutputLength :: Int | GunzipOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#gunzipAff' Source

gunzipAff' :: forall r trash. Union r trash (maxOutputLength :: Int | GunzipOptions) => Buffer -> Record r -> Aff Unit

#unzipSync' Source

unzipSync' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit

#unzip' Source

unzip' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Effect Unit -> Effect Unit

#unzipAff' Source

unzipAff' :: forall r trash. Union r trash (maxOutputLength :: Int | DeflateOptions) => Buffer -> Record r -> Aff Unit