17 #if !defined(OPENNURBS_ZLIB_INC_)
18 #define OPENNURBS_ZLIB_INC_
32 #define z_deflate deflate
33 #define z_inflate inflate
36 #define zcalloc pcl_zcalloc
37 #define zcfree pcl_zcfree
42 voidpf zcalloc (voidpf,
unsigned,
unsigned);
43 void zcfree (voidpf, voidpf);
71 std::size_t sizeof__inbuffer,
118 struct ON_CompressedBufferHelper*,
119 std::size_t sizeof___inbuffer,
120 const void* in___buffer
123 struct ON_CompressedBufferHelper*,
124 std::size_t sizeof___outbuffer,
ON__UINT32 m_crc_uncompressed
ON_CompressedBuffer(const ON_CompressedBuffer &src)
std::size_t DeflateHelper(struct ON_CompressedBufferHelper *, std::size_t sizeof___inbuffer, const void *in___buffer)
std::size_t SizeOfUncompressedBuffer() const
ON_CompressedBuffer & operator=(const ON_CompressedBuffer &src)
bool CompressionInit(struct ON_CompressedBufferHelper *) const
bool Compress(std::size_t sizeof__inbuffer, const void *inbuffer, int sizeof_element)
ON__UINT32 m_crc_compressed
bool Uncompress(void *outbuffer, int *bFailedCRC) const
std::size_t m_sizeof_compressed
bool Write(ON_BinaryArchive &binary_archive) const
std::size_t m_buffer_compressed_capacity
void * m_buffer_compressed
bool CompressionEnd(struct ON_CompressedBufferHelper *) const
bool InflateHelper(struct ON_CompressedBufferHelper *, std::size_t sizeof___outbuffer, void *out___buffer) const
bool WriteChar(std::size_t count, const void *buffer)
bool Read(ON_BinaryArchive &binary_archive)
std::size_t m_sizeof_uncompressed