#include <stream.h>
Inheritance diagram for Ishtar::InputStream:
Public Member Functions | |
virtual | ~InputStream () |
Destructor. | |
virtual void | read (void *data, Size size)=0 |
Read a data buffer, no endian conversion. | |
template<typename T> | |
T | readEndianIndependant () |
Read buffer v, correct endian for size 2, 4, and 8 (2*4). | |
Int8 | readInt8 (void) |
Read a 8 bits signed integer, endian safe. | |
UInt8 | readUInt8 (void) |
Read a 8 bits unsigned integer, endian safe. | |
Int16 | readInt16 (void) |
Read a 16 bits signed integer, endian safe. | |
UInt16 | readUInt16 (void) |
Read a 16 bits unsigned integer, endian safe. | |
Int32 | readInt32 (void) |
Read a 32 bits signed integer, endian safe. | |
UInt32 | readUInt32 (void) |
Read a 32 bits unsigned integer, endian safe. | |
float | readFloat (void) |
Read a float, endian safe. | |
double | readDouble (void) |
Read a double, endian safe. |