__free
__free: (ptr: number) => void
__get_shared_iv_buffer
__get_shared_iv_buffer: () => number
__get_shared_key_buffer
__get_shared_key_buffer: () => number
__get_shared_out
__get_shared_out: () => number
__malloc
__malloc: (size: number) => number
ctr256
ctr256: (ctx: number, data: number, dataLen: number, out: number) => number
ctr256_alloc
ctr256_alloc: () => number
ctr256_free
ctr256_free: (ctx: number) => void
ige256_decrypt
ige256_decrypt: (data: number, dataLen: number, out: number) => void
ige256_encrypt
ige256_encrypt: (data: number, dataLen: number, out: number) => void
libdeflate_alloc_compressor
libdeflate_alloc_compressor: (level: number) => number
libdeflate_alloc_decompressor
libdeflate_alloc_decompressor: () => number
libdeflate_gzip_decompress
libdeflate_gzip_decompress: (
ctx: number,
src: number,
srcLen: number,
dst: number,
dstLen: number,
) => number
Type declaration
- (ctx: number, src: number, srcLen: number, dst: number, dstLen: number): number
Parameters
- ctx: number
- src: number
- srcLen: number
- dst: number
- dstLen: number
Returns number
if !=0 - error
libdeflate_gzip_get_output_size
libdeflate_gzip_get_output_size: (src: number, srcLen: number) => number
libdeflate_zlib_compress
libdeflate_zlib_compress: (
ctx: number,
src: number,
srcLen: number,
dst: number,
dstLen: number,
) => number
sha1
sha1: (data: number, dataLen: number) => void
sha256
sha256: (data: number, dataLen: number) => void