SmallNumberCoder Class Reference

#include <SmallNumberCoder.h>

Public Member Functions

 SmallNumberCoder (void *pBuffer, unsigned size, void *pRefPointA, void *pRefPointB)
 
bool WriteTinySIntWithFlag (int value, bool flag)
 
bool WriteTinySInt (int value)
 
bool WriteSmallMostLikelyEvenSInt (int value)
 
bool WriteSmallUnsignedInt (unsigned value)
 
bool WriteSmallUnsignedIntWithFlag (unsigned value, bool flag)
 
bool WriteSmallSignedIntWithFlag (int value, bool flag)
 
bool WritePackedUIntPair (unsigned short largerInt, unsigned short smallerInt)
 
bool WriteStackEntry (int indexDelta, void *value, bool useRefPointB)
 
int GetOffset ()
 
void * GetBuffer ()
 
void ExportState (void **pRefPointA, void **pRefPointB)
 
void SetOffset (int offset)
 
unsigned RemainingSize ()
 

Constructor & Destructor Documentation

SmallNumberCoder::SmallNumberCoder ( void *  pBuffer,
unsigned  size,
void *  pRefPointA,
void *  pRefPointB 
)
inline

Member Function Documentation

void SmallNumberCoder::ExportState ( void **  pRefPointA,
void **  pRefPointB 
)
inline
void* SmallNumberCoder::GetBuffer ( )
inline
int SmallNumberCoder::GetOffset ( )
inline
unsigned SmallNumberCoder::RemainingSize ( )
inline
void SmallNumberCoder::SetOffset ( int  offset)
inline
bool SmallNumberCoder::WritePackedUIntPair ( unsigned short  largerInt,
unsigned short  smallerInt 
)
inline
bool SmallNumberCoder::WriteSmallMostLikelyEvenSInt ( int  value)
inline
bool SmallNumberCoder::WriteSmallSignedIntWithFlag ( int  value,
bool  flag 
)
inline
bool SmallNumberCoder::WriteSmallUnsignedInt ( unsigned  value)
inline
bool SmallNumberCoder::WriteSmallUnsignedIntWithFlag ( unsigned  value,
bool  flag 
)
inline
bool SmallNumberCoder::WriteStackEntry ( int  indexDelta,
void *  value,
bool  useRefPointB 
)
inline
bool SmallNumberCoder::WriteTinySInt ( int  value)
inline
bool SmallNumberCoder::WriteTinySIntWithFlag ( int  value,
bool  flag 
)
inline

The documentation for this class was generated from the following file: