#include <EndianReader.h>
Inheritance diagram for activemq::io::EndianReader:
Public Member Functions | |
EndianReader () | |
EndianReader (InputStream *is) | |
virtual | ~EndianReader () |
virtual void | setInputStream (InputStream *is) |
virtual InputStream * | getInputStream () |
virtual int | read (unsigned char *buffer, int count) throw ( IOException ) |
virtual unsigned char | readByte () throw ( IOException ) |
virtual double | readDouble () throw ( IOException ) |
virtual float | readFloat () throw ( IOException ) |
virtual uint16_t | readUInt16 () throw ( IOException ) |
virtual uint32_t | readUInt32 () throw ( IOException ) |
virtual uint64_t | readUInt64 () throw ( IOException ) |
Private Attributes | |
InputStream * | inputStream |
|
Constructor. |
|
Constructor.
|
|
Destructor. |
|
Gets the target input stream. Implements activemq::io::Reader. |
|
Attempts to read an array of bytes from the stream.
Implements activemq::io::Reader. |
|
Attempts to read a byte from the input stream
Implements activemq::io::Reader. |
|
Attempts to read a double from the input stream
|
|
Attempts to read a float from the input stream
|
|
Attempts to read a short from the input stream
|
|
Attempts to read an int from the input stream
|
|
Attempts to read a long long from the input stream
|
|
Sets the target input stream. Implements activemq::io::Reader. |
|
The target input stream. |