Index

C/C++ Functions

fxBufferGetBound

DT_SLONG fxBufferGetBound(DT_AUX_INFO* info, DT_SLONG raw_len)

Short Description: Get maximum size of buffer to store compressed data

This function calculates the required size of the buffer required to compress raw_len bytes of data using the fxBufferCompress function. The data compression format is specified by the FileFormat member variable of the info structure.

Parameters

ParameterDescription

info

Pointer to the DT_AUX_INFO structure containing the applicable initialization parameters.

raw_len

See fxBufferCompress.

Return Value

The return value represents the upper bound, in bytes, of a buffer to allocate to hold the compressed data in a single call to fxBufferCompress. This function may return a conservative value that is larger than raw_len.  

Index