Go to the documentation of this file.
18 #ifndef _DECAF_IO_DATAOUTPUTSTREAM_H_
19 #define _DECAF_IO_DATAOUTPUTSTREAM_H_
41 unsigned char buffer[8];
67 virtual long long size()
const {
74 virtual void writeBoolean(
bool value);
79 virtual void writeByte(
unsigned char value);
84 virtual void writeShort(
short value);
89 virtual void writeUnsignedShort(
unsigned short value);
94 virtual void writeChar(
char value);
99 virtual void writeInt(
int value);
104 virtual void writeLong(
long long value);
109 virtual void writeFloat(
float value);
114 virtual void writeDouble(
double value);
119 virtual void writeBytes(
const std::string& value);
124 virtual void writeChars(
const std::string& value);
129 virtual void writeUTF(
const std::string& value);
133 virtual void doWriteByte(
unsigned char value);
135 virtual void doWriteArrayBounded(
const unsigned char* buffer,
int size,
int offset,
int length);
140 unsigned int countUTFLength(
const std::string& value);