| activemq-cpp-3.4.0 | 
A data output stream lets an application write primitive Java data types to an output stream in a portable way. More...
#include <src/main/decaf/io/DataOutputStream.h>

| Public Member Functions | |
| DataOutputStream (OutputStream *outputStream, bool own=false) | |
| Creates a new data output stream to write data to the specified underlying output stream. | |
| virtual | ~DataOutputStream () | 
| virtual long long | size () const | 
| Returns the current value of the counter written, the number of bytes written to this data output stream so far. | |
| virtual void | writeBoolean (bool value) | 
|  | |
| virtual void | writeByte (unsigned char value) | 
|  | |
| virtual void | writeShort (short value) | 
|  | |
| virtual void | writeUnsignedShort (unsigned short value) | 
|  | |
| virtual void | writeChar (char value) | 
|  | |
| virtual void | writeInt (int value) | 
|  | |
| virtual void | writeLong (long long value) | 
|  | |
| virtual void | writeFloat (float value) | 
|  | |
| virtual void | writeDouble (double value) | 
|  | |
| virtual void | writeBytes (const std::string &value) | 
|  | |
| virtual void | writeChars (const std::string &value) | 
|  | |
| virtual void | writeUTF (const std::string &value) | 
|  | |
| Protected Member Functions | |
| virtual void | doWriteByte (unsigned char value) | 
| virtual void | doWriteArrayBounded (const unsigned char *buffer, int size, int offset, int length) | 
| Protected Attributes | |
| long long | written | 
| unsigned char | buffer [8] | 
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
An application can then use a data input stream to read the data back in.
| decaf::io::DataOutputStream::DataOutputStream | ( | OutputStream * | outputStream, | 
| bool | own = false | ||
| ) | 
Creates a new data output stream to write data to the specified underlying output stream.
| outputStream | a stream to wrap with this one. | 
| own | true if this objects owns the stream that it wraps. | 
| virtual decaf::io::DataOutputStream::~DataOutputStream | ( | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::doWriteArrayBounded | ( | const unsigned char * | buffer, | 
| int | size, | ||
| int | offset, | ||
| int | length | ||
| ) |  [protected, virtual] | 
Reimplemented from decaf::io::FilterOutputStream.
| virtual void decaf::io::DataOutputStream::doWriteByte | ( | unsigned char | value | ) |  [protected, virtual] | 
Reimplemented from decaf::io::FilterOutputStream.
| virtual long long decaf::io::DataOutputStream::size | ( | ) | const  [inline, virtual] | 
Returns the current value of the counter written, the number of bytes written to this data output stream so far.
If the counter overflows, it will be wrapped to decaf::lang::Long::MAX_VALUE.
| virtual void decaf::io::DataOutputStream::writeBoolean | ( | bool | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeByte | ( | unsigned char | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeBytes | ( | const std::string & | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeChar | ( | char | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeChars | ( | const std::string & | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeDouble | ( | double | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeFloat | ( | float | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeInt | ( | int | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeLong | ( | long long | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeShort | ( | short | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeUnsignedShort | ( | unsigned short | value | ) |  [virtual] | 
| virtual void decaf::io::DataOutputStream::writeUTF | ( | const std::string & | value | ) |  [virtual] | 
| unsigned char decaf::io::DataOutputStream::buffer[8]  [protected] | 
| long long decaf::io::DataOutputStream::written  [protected] |