Home | History | Annotate | Download | only in lib

Lines Matching refs:dstBuffer

90 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
93 * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
97 * The result of the function is the number of bytes written into dstBuffer.
130 size_t LZ4F_compressBegin(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_preferences_t* preferencesPtr);
132 * will write the frame header into dstBuffer.
133 * dstBuffer must be large enough to accommodate a header (dstMaxSize). Maximum header size is 19 bytes.
135 * The result of the function is the number of bytes written into dstBuffer for the header
146 size_t LZ4F_compressUpdate(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* compressOptionsPtr);
149 * The most important rule is that dstBuffer MUST be large enough (dstMaxSize) to ensure compression completion even in worst case.
153 * The result of the function is the number of bytes written into dstBuffer : it can be zero, meaning input data was just buffered.
157 size_t LZ4F_flush(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr);
162 * The result of the function is the number of bytes written into dstBuffer
167 size_t LZ4F_compressEnd(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_compressOptions_t* compressOptionsPtr);
172 * The result of the function is the number of bytes written into dstBuffer (necessarily >= 4 (endMark size))
222 void* dstBuffer, size_t* dstSizePtr,
227 * The function will attempt to decode *srcSizePtr bytes from srcBuffer, into dstBuffer of maximum size *dstSizePtr.
229 * The number of bytes regenerated into dstBuffer will be provided within *dstSizePtr (necessarily <= original value).
233 * It typically happens when dstBuffer is not large enough to contain all decoded data.
237 * dstBuffer is supposed to be flushed between each call to the function, since its content will be overwritten.