Inflater.inl
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- // Copyright (C) 1999 DXGuide. All Rights Reserved.
- // File: Inflater.inl
- // Inlines for CInflater
- inline DWORD CInflater::GetTotalIn(void) const
- {
- return m_dwTotalInputBytes;
- }
- inline DWORD CInflater::GetTotalOut(void) const
- {
- return m_dwTotalOutputBytes;
- }
- // Returns the CRC-32 checksum of the uncompressed entry data, or -1 if not known.
- inline DWORD CInflater::GetAdler32(void) const
- {
- return m_checksum.GetValue();
- }
- inline void CInflater::SetInput(const void* pBuf, UINT uLen)
- {
- ASSERT(pBuf != NULL);
- m_pSourceBuf = (const BYTE*)pBuf;
- m_uSourceBufLen = uLen;
- }