Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cStreamBitDecompress Class Reference

#include <cStreamBit.h>

Public Member Functions

 cStreamBitDecompress () noexcept
 
void ResetDecoder () noexcept
 
bool isCompletePacket () const noexcept
 
int get_IncompleteSize () const noexcept
 
int Decode (BYTE *pOutput, const BYTE *pInput, size_t nInputSize)
 

Detailed Description

a single session/stream of decode for cStreamBitTree. ??? decoder will fail if not properly aligned?!

Constructor & Destructor Documentation

◆ cStreamBitDecompress()

GrayLib::cStreamBitDecompress::cStreamBitDecompress ( )
inlinenoexcept

Member Function Documentation

◆ Decode()

int GrayLib::cStreamBitDecompress::Decode ( BYTE *  pOutput,
const BYTE *  pInput,
size_t  nInputSize 
)
Returns
valid output length. m_iDecodeIndex may be larger. 0 = not big enough for a logical/complete packet. (wait for more data??) -1 = bad data stream. (should never happen!)

◆ get_IncompleteSize()

int GrayLib::cStreamBitDecompress::get_IncompleteSize ( ) const
inlinenoexcept

◆ isCompletePacket()

bool GrayLib::cStreamBitDecompress::isCompletePacket ( ) const
inlinenoexcept

◆ ResetDecoder()

void GrayLib::cStreamBitDecompress::ResetDecoder ( )
inlinenoexcept

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