Class representing an LZW decoder. (For internal use only) More...
#include <pdfparser.h>
Public Member Functions | |
| wxPdfLzwDecoder () | |
| Constructor. | |
| virtual | ~wxPdfLzwDecoder () |
| Destructor. | |
| int | GetNextCode () |
| Get next code. | |
| bool | Decode (wxMemoryInputStream *dataIn, wxMemoryOutputStream *dataOut) |
| Decode a byte stream. | |
| void | InitializeStringTable () |
| Initialize the string table. | |
| void | WriteString (int code) |
| Write decoded string into output buffer. | |
| void | AddStringToTable (int oldCode, char newString) |
| Add string to string table. | |
Class representing an LZW decoder. (For internal use only)
| wxPdfLzwDecoder::wxPdfLzwDecoder | ( | ) |
Constructor.
| virtual wxPdfLzwDecoder::~wxPdfLzwDecoder | ( | ) | [virtual] |
Destructor.
| void wxPdfLzwDecoder::AddStringToTable | ( | int | oldCode, |
| char | newString | ||
| ) |
Add string to string table.
| bool wxPdfLzwDecoder::Decode | ( | wxMemoryInputStream * | dataIn, |
| wxMemoryOutputStream * | dataOut | ||
| ) |
Decode a byte stream.
| int wxPdfLzwDecoder::GetNextCode | ( | ) |
Get next code.
| void wxPdfLzwDecoder::InitializeStringTable | ( | ) |
Initialize the string table.
| void wxPdfLzwDecoder::WriteString | ( | int | code ) |
Write decoded string into output buffer.
1.7.2