DataOutputStream
A DataOutputStream is a OutputStream that can write primitive types
Since
0.1.0
Parameters
The OutputStream to write to
Constructors
Creates a DataOutputStream with the given OutputStream
Properties
The OutputStream to write to
Functions
Closes the OutputStream
Flushes the OutputStream
Writes a single byte to the OutputStream
Writes b.length
bytes from the specified byte array to this output stream. The general contract for write(b)
is that it should have exactly the same effect as the call write(b, 0, b.length)
.
Writes len
bytes from the specified byte array starting at offset off
to this output stream. The general contract for write(b, off, len)
is that some of the bytes in the array b
are written to the output stream in order; element b[off]
is the first byte written and b[off+len-1]
is the last byte written by this operation.
Writes a boolean to the OutputStream
Writes a byte array to the OutputStream
Writes a byte to the OutputStream
Writes a byte array to the OutputStream
Writes a char to the OutputStream
Writes a char array to the OutputStream
Writes a char array to the OutputStream
Writes a char to the OutputStream using UTF-8
Writes a double to the OutputStream
Writes a double array to the OutputStream
Writes a float to the OutputStream
Writes a float array to the OutputStream
Writes an int to the OutputStream
Writes an int array to the OutputStream
Writes a long to the OutputStream
Writes a long array to the OutputStream
Writes a short to the OutputStream
Writes a short array to the OutputStream
Writes a string to the OutputStream
Writes an unsigned byte to the OutputStream
Writes a char array to the OutputStream
Writes an unsigned int to the OutputStream
Writes a char array to the OutputStream
Writes an unsigned long to the OutputStream
Writes a char array to the OutputStream
Writes an unsigned short to the OutputStream
Writes a char array to the OutputStream
Writes a string to the OutputStream