src/nodejs/jszlib

    Dark Mode
Search:
Group by:

Lets

DEFLATE: cint
DEFLATERAW: cint
GUNZIP: cint
GZIP: cint
INFLATE: cint
INFLATERAW: cint
UNZIP: cint
Z_BEST_SPEED: cint
Z_BLOCK: cint
Z_BUF_ERROR: cint
Z_DATA_ERROR: cint
Z_ERRNO: cint
Z_FILTERED: cint
Z_FINISH: cint
Z_FIXED: cint
Z_FULL_FLUSH: cint
Z_MAX_CHUNK: cint
Z_MAX_LEVEL: cint
Z_MEM_ERROR: cint
Z_MIN_CHUNK: cint
Z_MIN_LEVEL: cint
Z_NEED_DICT: cint
Z_NO_FLUSH: cint
Z_OK: cint
Z_RLE: cint
Z_STREAM_END: cint
Z_SYNC_FLUSH: cint
ZLIB_VERNUM: cint

Procs

func brotliCompress[T](buffer: cstring; callback: T) {.
    importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_brotlicompress_buffer_options_callback
func brotliDecompress[T](buffer: cstring; callback: T) {.
    importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_brotlidecompress_buffer_options_callback
func deflate[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_deflate_buffer_options_callback
func deflateRaw[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_deflateraw_buffer_options_callback
func gunzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_gunzip_buffer_options_callback
func gzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_gzip_buffer_options_callback
func importZlib() {.importjs: "import * as zlib from \'zlib\'@", ...raises: [],
                    tags: [].}
Alias for import * as module_name from 'module_name';. Must be called once before using the module
func inflate[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_inflate_buffer_options_callback
func inflateRaw[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_inflateraw_buffer_options_callback
func requireZlib() {.importjs: "const zlib = require(\'zlib\')@", ...raises: [],
                     tags: [].}
Alias for const module_name = require('module_name');. Must be called once before using the module
func unzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)",
    ...raises: [], tags: [].}
https://nodejs.org/api/zlib.html#zlib_zlib_unzip_buffer_options_callback