#include <PXXNativeDecoder.h>
Inheritance diagram for PXXNativeDecoder:
Public Member Functions | |
SET_LOGGER ("PXXNativeDecoder") | |
virtual | ~PXXNativeDecoder () |
virtual void | Initialize () |
virtual void | Dispose () |
virtual Int32b_t | ReadBoolean (Bool8b_t &b) |
virtual Int32b_t | ReadByte (Char8b_t &c) |
virtual Int32b_t | SkipBytes (Int32b_t n) |
virtual Int32b_t | ReadShort (Short16b_t &s) |
virtual Int32b_t | ReadInt (Int32b_t &i) |
virtual Int32b_t | ReadFloat (Float32b_t &f) |
virtual Int32b_t | ReadLong (Long64b_t &l) |
virtual Int32b_t | ReadDouble (Double64b_t &d) |
PXXNativeDecoder () | |
Int32b_t | ReadAByteFromBuffer (Char8b_t *needle) |
Static Public Member Functions | |
static PXXNativeDecoderPtr | GetInstancePtr () |
static Char8b_t * | GetBuffer () |
static void | SetBuffer (const Char8b_t *start, Int32b_t length) |
|
Destructor calls Dispose(). |
|
This class is singleton so that constructor should be protected... |
|
Close the file stream and set 0 to the fInputStreamPtr_. Implements PXXVDecoder. |
|
Get/Set methode for input buffer |
|
Static get method. Returns pointer to itself. |
|
Initialize a decoder. It open the input file. Implements PXXVDecoder. |
|
Read one byte from bytebuffer or file and store it to the needle. |
|
Reads boolean(1byte if the JAVA binary is written by java.io.DataOutput interface) and set it to the argument. true if that byte is nonzero, false if that byte is zero.
Implements PXXVDecoder. |
|
Reads one input byte and set it to the argument. The byte is treated as a signed value in the range -128 through 127, inclusive.
Implements PXXVDecoder. |
|
Reads eight input bytes and set it to the argument.
Implements PXXVDecoder. |
|
Reads four input bytes and set it to the argument.
Implements PXXVDecoder. |
|
Reads four input bytes and set it to the argument.
Implements PXXVDecoder. |
|
Reads eight input bytes and set it to the argument.
Implements PXXVDecoder. |
|
Reads two input bytes and set it to the argument.
Implements PXXVDecoder. |
|
|
|
|
|
Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes. However, it may skip over some smaller number of bytes, possibly zero. This may result from any of a number of conditions; reaching end of file before n bytes have been skipped is only one possibility. Number of bytes skipped is returned.
Implements PXXVDecoder. |