CCompressionUtil Class Reference
[Compression]

Search Toolkit Book for CCompressionUtil

#include <compress.hpp>

List of all members.


Detailed Description

Definition at line 414 of file compress.hpp.

Static Public Member Functions

static void StoreUI4 (void *buf, unsigned long value)
 Store 4 bytes of value in the buffer.
static Uint4 GetUI4 (void *buf)
 Read 4 bytes from buffer.
static void StoreUI2 (void *buf, unsigned long value)
 Store 2 bytes of value in the buffer.
static Uint2 GetUI2 (void *buf)
 Read 2 bytes from buffer.


Member Function Documentation

Uint2 CCompressionUtil::GetUI2 void *  buf  )  [static]
 

Read 2 bytes from buffer.

Definition at line 255 of file compress.cpp.

References buf, and NCBI_THROW.

Uint4 CCompressionUtil::GetUI4 void *  buf  )  [static]
 

Read 4 bytes from buffer.

Definition at line 226 of file compress.cpp.

References buf, and NCBI_THROW.

Referenced by s_CheckGZipHeader().

void CCompressionUtil::StoreUI2 void *  buf,
unsigned long  value
[static]
 

Store 2 bytes of value in the buffer.

Definition at line 240 of file compress.cpp.

References buf, kMax_UI2, and NCBI_THROW.

void CCompressionUtil::StoreUI4 void *  buf,
unsigned long  value
[static]
 

Store 4 bytes of value in the buffer.

Definition at line 210 of file compress.cpp.

References buf, kMax_UI4, and NCBI_THROW.

Referenced by s_WriteGZipFooter(), and s_WriteGZipHeader().


The documentation for this class was generated from the following files:
Generated on Wed Dec 9 07:52:41 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:19:02 2009 by modify_doxy.py rev. 173732