#include <stream.h>
Inheritance diagram for Ishtar::OutputStream:
Public Member Functions | |
virtual | ~OutputStream () |
Destructor. | |
virtual void | write (const void *data, const Size size)=0 |
Write a data buffer, no endian conversion. | |
virtual void | flush (void)=0 |
Flush the internal buffer, be sure that datas are really written. | |
template<typename T> | |
void | writeEndianIndependant (const T &v) |
Write buffer v, correct endian. | |
void | writeInt8 (const Int8 v) |
Write a 8 bits signed integer, endian safe. | |
void | writeUInt8 (const UInt8 v) |
Write a 8 bits unsigned integer, endian safe. | |
void | writeInt16 (const Int16 v) |
Write a 16 bits signed integer, endian safe. | |
void | writeUInt16 (const UInt16 v) |
Write a 16 bits unsigned integer, endian safe. | |
void | writeInt32 (const Int32 v) |
Write a 32 bits signed integer, endian safe. | |
void | writeUInt32 (const UInt32 v) |
Write a 32 bits unsigned integer, endian safe. | |
void | writeFloat (const float v) |
Write a float, endian safe. | |
void | writeDouble (const double v) |
Write a double, endian safe. |