CCompressionUtil Class Reference
[Compression]

Search Toolkit Book for CCompressionUtil

#include <compress.hpp>

List of all members.


Detailed Description

Definition at line 411 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 250 of file compress.cpp.

References buf, and NCBI_THROW.

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

Read 4 bytes from buffer.

Definition at line 221 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 235 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 205 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 Oct 8 06:54:36 2008 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Oct 08 07:26:34 2008 by modify_doxy.py rev. 117643