17 #if !defined(OPENNURBS_COMPRESS_INC_) 18 #define OPENNURBS_COMPRESS_INC_ 20 typedef bool (*ON_StreamCallbackFunction)(
void* context, ON__UINT32 size,
const void* buffer );
58 ON_StreamCallbackFunction callback_function,
59 void* callback_context
69 ON_StreamCallbackFunction CallbackFunction()
const;
76 void* CallbackContext()
const;
103 ON__UINT64 in_buffer_size,
104 const void* in_buffer
124 void* callback_context,
125 ON__UINT32 out_buffer_size,
126 const void* out_buffer
148 ON__UINT64 InSize()
const;
158 ON__UINT64 OutSize()
const;
168 ON__UINT32 InCRC()
const;
178 ON__UINT32 OutCRC()
const;
181 ON_StreamCallbackFunction m_out_callback_function;
182 void* m_out_callback_context;
183 ON__UINT64 m_in_size;
184 ON__UINT64 m_out_size;
186 ON__UINT32 m_out_crc;
187 void* m_implementation;
235 ON_StreamCallbackFunction callback_function,
236 void* callback_context
246 ON_StreamCallbackFunction CallbackFunction()
const;
253 void* CallbackContext()
const;
280 ON__UINT64 in_buffer_size,
281 const void* in_buffer
301 void* callback_context,
302 ON__UINT32 out_buffer_size,
303 const void* out_buffer
325 ON__UINT64 InSize()
const;
335 ON__UINT64 OutSize()
const;
345 ON__UINT32 InCRC()
const;
355 ON__UINT32 OutCRC()
const;
358 ON_StreamCallbackFunction m_out_callback_function;
359 void* m_out_callback_context;
360 ON__UINT64 m_in_size;
361 ON__UINT64 m_out_size;
363 ON__UINT32 m_out_crc;
364 void* m_implementation;
390 size_t ON_UncompressBuffer(
391 size_t sizeof_compressed_buffer,
392 const void* compressed_buffer,
393 size_t sizeof_uncompressed_buffer,
394 void* uncompressed_buffer
422 size_t sizeof__inbuffer,
423 const void* inbuffer,
431 size_t SizeOfUncompressedBuffer()
const;
466 bool CompressionInit(
struct ON_CompressedBufferHelper*)
const;
467 bool CompressionEnd(
struct ON_CompressedBufferHelper*)
const;
468 size_t DeflateHelper(
469 struct ON_CompressedBufferHelper*,
470 size_t sizeof___inbuffer,
471 const void* in___buffer
474 struct ON_CompressedBufferHelper*,
475 size_t sizeof___outbuffer,
483 size_t m_sizeof_uncompressed;
484 size_t m_sizeof_compressed;
485 ON__UINT32 m_crc_uncompressed;
486 ON__UINT32 m_crc_compressed;
488 int m_sizeof_element;
489 size_t m_buffer_compressed_capacity;
490 void* m_buffer_compressed;
Definition: opennurbs_compress.h:193
Definition: opennurbs_archive.h:1783
Definition: opennurbs_compress.h:22
Definition: opennurbs_compress.h:384