CryptoSys API Library Manual

comprCompress

Compress data using compression algorithm.

Syntax

[VBA]
Public Function comprCompress ( _
    lpInput() As Byte, _
    Optional nOptions As Long = API_COMPR_ZLIB _
) As Byte()

Parameters

lpInput
Data to be compressed.
nOptions
Compression algorithm to be used. Select one from:
API_COMPR_ZLIB (0)
API_COMPR_ZSTD

Return Value

Byte(): Compressed data, or an empty array on error.
[PREV: cnvToHex...]   [Contents]   [Index]   
   [NEXT: comprUncompress...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.