iBE_Math Class Reference

#include <iBE_Math.h>

List of all members.

Public Member Functions

 iBE_Math (void)
 ~iBE_Math (void)

Static Public Member Functions

unsigned long charArrToULong (unsigned char *inCharArray)
 Reads 4 bytes (Big Endian) and returns an unsigned long.
void ULongToCharArr (unsigned long inLong, unsigned char *outCharArray)
unsigned short charArrToUShort (unsigned char *inCharArray)
 Reads 2 bytes (Big Endian) and returns an unsigned short.


Constructor & Destructor Documentation

iBE_Math::iBE_Math void   ) 
 

Definition at line 35 of file iBE_Math.cpp.

iBE_Math::~iBE_Math void   ) 
 

Definition at line 39 of file iBE_Math.cpp.


Member Function Documentation

unsigned long iBE_Math::charArrToULong unsigned char *  inCharArray  )  [static]
 

Reads 4 bytes (Big Endian) and returns an unsigned long.

Definition at line 43 of file iBE_Math.cpp.

Referenced by AutoOggSeekTable::acceptOggPage(), TheoraStream::createFormatBlock(), OggFLAC_1_0_Stream::createFormatBlock(), FLACStream::createFormatBlock(), and NativeFLACSourceFilter::Load().

unsigned short iBE_Math::charArrToUShort unsigned char *  inCharArray  )  [static]
 

Reads 2 bytes (Big Endian) and returns an unsigned short.

Definition at line 63 of file iBE_Math.cpp.

Referenced by TheoraStream::createFormatBlock(), and OggFLAC_1_0_Stream::InitCodec().

void iBE_Math::ULongToCharArr unsigned long  inLong,
unsigned char *  outCharArray
[static]
 

Definition at line 53 of file iBE_Math.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:03:20 2005 for oggdsf by  doxygen 1.3.9