Compression operations.
- Copyright:
-
- Crown Copyright 2016
- License:
-
- Apache-2.0
- Source:
Members
-
<static, constant> COMPRESSION_TYPE
-
- Default Value:
-
- ["Dynamic Huffman Coding","Fixed Huffman Coding","None (Store)"]
- Source:
-
<static, constant> INFLATE_BUFFER_TYPE
-
- Default Value:
-
- ["Adaptive","Block"]
- Source:
-
<static, constant> COMPRESSION_METHOD
-
- Default Value:
-
- ["Deflate","None (Store)"]
- Source:
-
<static, constant> OS
-
- Default Value:
-
- ["MSDOS","Unix","Macintosh"]
- Source:
-
<static, constant> RAW_COMPRESSION_TYPE_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> INFLATE_INDEX
-
- Source:
-
<static, constant> INFLATE_BUFFER_SIZE
-
- Source:
-
<static, constant> INFLATE_RESIZE
-
- Source:
-
<static, constant> INFLATE_VERIFY
-
- Source:
-
<static, constant> RAW_BUFFER_TYPE_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> ZLIB_COMPRESSION_TYPE_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> ZLIB_BUFFER_TYPE_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> GZIP_CHECKSUM
-
- Source:
-
<static, constant> PKZIP_FILENAME
-
- Default Value:
-
- file.txt
- Source:
-
<static, constant> ZIP_COMPRESSION_METHOD_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> ZIP_OS_LOOKUP
-
- Default Value:
-
- {"undefined":""}
- Source:
-
<static, constant> PKUNZIP_VERIFY
-
- Source:
Methods
-
<static> run_raw_deflate(input, args)
-
Raw Deflate operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_raw_inflate(input, args)
-
Raw Inflate operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_zlib_deflate(input, args)
-
Zlib Deflate operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_zlib_inflate(input, args)
-
Zlib Inflate operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_gzip(input, args)
-
Gzip operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_gunzip(input, args)
-
Gunzip operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_pkzip(input, args)
-
Zip operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- byte_array
-
<static> run_pkunzip(input, args)
-
Unzip operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_bzip2_decompress(input, args)
-
Bzip2 Decompress operation.
Parameters:
Name Type Description input
byte_array args
Array.<Object> - Source:
Returns:
- Type
- string