18#ifndef _DECAF_IO_DATAOUTPUT_H_
19#define _DECAF_IO_DATAOUTPUT_H_
206 virtual void writeUTF(
const std::string& value) = 0;
The DataOutput interface provides for converting data from any of the C++ primitive types to a series...
Definition DataOutput.h:47
virtual void writeChars(const std::string &value)=0
Writes a string to the underlying output stream as a sequence of characters.
virtual void writeLong(long long value)=0
Writes an 64 bit long to the underlying output stream as eight bytes, high byte first.
virtual void writeBytes(const std::string &value)=0
Writes out the string to the underlying output stream as a sequence of bytes.
virtual void writeChar(char value)=0
Writes out a char to the underlying output stream as a one byte value If no exception is thrown,...
virtual void writeFloat(float value)=0
Converts the float argument to an int using the floatToIntBits method in class Float,...
virtual void writeShort(short value)=0
Writes a short to the underlying output stream as two bytes, high byte first.
virtual void writeUnsignedShort(unsigned short value)=0
Writes a unsigned short to the bytes message stream as a 2 byte value.
virtual void writeByte(unsigned char value)=0
Writes out a byte to the underlying output stream as a 1-byte value.
virtual void writeDouble(double value)=0
Converts the double argument to a long using the doubleToLongBits method in class Double,...
virtual void writeBoolean(bool value)=0
Writes a boolean to the underlying output stream as a 1-byte value.
virtual void writeInt(int value)=0
Writes an int to the underlying output stream as four bytes, high byte first.
virtual void writeUTF(const std::string &value)=0
Writes out the string to the underlying output stream as a modeified UTF-8 encoded sequence of bytes.
#define DECAF_API
Definition Config.h:29
Definition BlockingByteArrayInputStream.h:25
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25