|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||
#include "ot/io/DataOutput.h"

| Method Summary | |
virtual void |
write(const Byte* pBuffer, size_t bufLen)=0 |
virtual void |
writeBoolean(bool bValue)Converts a boolean value to a single Byte with value 1 for true or 0 for false and writes it to the stream. |
virtual void |
writeByte(Byte value)Writes a single Byte to the stream. |
virtual void |
writeInt64(Int64Type value)Converts the given 64-bit integer value into a 2s complement, big-endian representation which is 8 bytes long and writes those bytes to this stream. |
virtual void |
writeLong(long value)Converts the given long integer value into a 2s complement, big-endian representation which is 4 bytes long and writes those bytes to this stream. |
virtual void |
writeShort(short value)Converts the given short integer value into a 2s complement, big-endian representation which is 2 bytes long and writes those bytes to this stream. |
virtual void |
writeUnsignedInt64(UInt64Type value)Converts the given 64-bit unsigned integer value into a 2s complement, big-endian representation which is 8 bytes long and writes those bytes to this stream. |
virtual void |
writeUnsignedLong(unsigned long value)Converts the given unsigned long integer value into a 2s complement, big-endian representation which is 4 bytes long and writes those bytes to this stream. |
virtual void |
writeUnsignedShort(unsigned short value)Converts the given unsigned short integer value into a 2s complement, big-endian representation which is 2 bytes long and writes those bytes to this stream. |
virtual void |
writeUTF(const String& strValue)Writes a Unicode String value in a length-prefixed UTF format. |
| Methods inherited from class ot::ManagedObject |
addRef(), getRefCount(), onFinalRelease(), operator=(const ManagedObject&), release() |
| Method Detail |
virtual void write(const Byte* pBuffer,
size_t bufLen)=0
virtual void writeBoolean(bool bValue)
value - IOException - virtual void writeByte(Byte value)
value - IOException - virtual void writeInt64(Int64Type value)
value - IOException - RuntimeException - virtual void writeLong(long value)
value - IOException - RuntimeException - virtual void writeShort(short value)
value - IOException - RuntimeException - virtual void writeUnsignedInt64(UInt64Type value)
value - IOException - RuntimeException - virtual void writeUnsignedLong(unsigned long value)
value - IOException - RuntimeException - virtual void writeUnsignedShort(unsigned short value)
value - IOException - RuntimeException - virtual void writeUTF(const String& strValue)
IOException - RuntimeException -
|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||