17#if !defined(OPENNURBS_ZLIB_INC_)
18#define OPENNURBS_ZLIB_INC_
37#if !defined(MY_ZCALLOC)
45voidpf zcalloc (voidpf,
unsigned,
unsigned);
46void zcfree (voidpf, voidpf);
74 std::size_t sizeof__inbuffer,
121 struct ON_CompressedBufferHelper*,
122 std::size_t sizeof___inbuffer,
123 const void* in___buffer
126 struct ON_CompressedBufferHelper*,
127 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
bool CompressionInit(struct ON_CompressedBufferHelper *) const
bool Compress(std::size_t sizeof__inbuffer, const void *inbuffer, int sizeof_element)
ON_CompressedBuffer & operator=(const ON_CompressedBuffer &src)
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