| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public void | writeBoolean(boolean v)
Implements java. Writes a |
| public final void | writeByte(int v)
Implements java. Writes to the output stream the eight low-order
bits of the argument |
| public void | |
| public void | writeChar(int v)
Implements java. Writes a |
| public void | writeChars(String s)
Implements java. Writes every character in the string |
| public void | |
| public void | |
| public void | writeDouble(double v)
Implements java. Writes a |
| public void | writeFloat(float v)
Implements java. Writes a |
| public final void | writeInt(int v)
Implements java. Writes an |
| public final void | writeLong(long v)
Implements java. Writes a |
| public void | writeShort(int v)
Implements java. Writes two bytes to the output stream to represent the value of the argument. |
| public void | writeUTF(String str)
Implements java. Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string |
| tempBuffer | back to summary |
|---|---|
| pack-priv byte[] tempBuffer | |
| DataOutputStream | back to summary |
|---|---|
| public DataOutputStream(OutputStream stream) | |
| write | back to summary |
|---|---|
| public long write(Reader reader, long length) throws IOException | |
| write | back to summary |
|---|---|
| public long write(InputStream inputStream, long length) throws IOException | |
| writeBoolean | back to summary |
|---|---|
| public void writeBoolean(boolean v) throws IOException Implements java. Doc from java. Writes a
| |
| writeByte | back to summary |
|---|---|
| public final void writeByte(int v) throws IOException Implements java. Doc from java. Writes to the output stream the eight low-order
bits of the argument
| |
| writeBytes | back to summary |
|---|---|
| public void writeBytes(String s) throws IOException Implements java. Doc from java. Writes a string to the output stream.
For every character in the string
If
| |
| writeChar | back to summary |
|---|---|
| public void writeChar(int v) throws IOException Implements java. Doc from java. Writes a
The bytes written by this method may be
read by the
| |
| writeChars | back to summary |
|---|---|
| public void writeChars(String s) throws IOException Implements java. Doc from java. Writes every character in the string
| |
| writeChars | back to summary |
|---|---|
| public void writeChars(char[] c) throws IOException | |
| writeChars | back to summary |
|---|---|
| public void writeChars(char[] c, int length) throws IOException | |
| writeDouble | back to summary |
|---|---|
| public void writeDouble(double v) throws IOException Implements java. Doc from java. Writes a
| |
| writeFloat | back to summary |
|---|---|
| public void writeFloat(float v) throws IOException Implements java. Doc from java. Writes a
| |
| writeInt | back to summary |
|---|---|
| public final void writeInt(int v) throws IOException Implements java. Doc from java. Writes an
The bytes written by this method may be read
by the
| |
| writeLong | back to summary |
|---|---|
| public final void writeLong(long v) throws IOException Implements java. Doc from java. Writes a
The bytes written by this method may be
read by the
| |
| writeShort | back to summary |
|---|---|
| public void writeShort(int v) throws IOException Implements java. Doc from java. Writes two bytes to the output stream to represent the value of the argument. The byte values to be written, in the order shown, are:
The bytes written by this method may be
read by the
| |
| writeUTF | back to summary |
|---|---|
| public void writeUTF(String str) throws IOException Implements java. Doc from java. Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string
If a character (byte)c
If a character If a character
First,
the total number of bytes needed to represent
all the characters of The
bytes written by this method may be read
by the
| |