Methods Summary |
---|
public abstract void | write(byte[] buffer)Writes the entire contents of the byte array {@code buffer} to this
stream.
|
public abstract void | write(byte[] buffer, int offset, int count)Writes {@code count} bytes from the byte array {@code buffer} starting at
offset {@code index}.
|
public abstract void | write(int oneByte)Writes the specified 8-bit byte.
|
public abstract void | writeBoolean(boolean val)Writes the specified boolean.
|
public abstract void | writeByte(int val)Writes the specified 8-bit byte.
|
public abstract void | writeBytes(java.lang.String str)Writes the low order 8-bit bytes from the specified string.
|
public abstract void | writeChar(int val)Writes the specified 16-bit character. Only the two least significant
bytes of the integer {@code oneByte} are written, with the higher one
written first. This represents the Unicode value of the char.
|
public abstract void | writeChars(java.lang.String str)Writes the 16-bit characters contained in {@code str}.
|
public abstract void | writeDouble(double val)Writes the specified 64-bit double. The resulting output is the eight
bytes returned by {@link Double#doubleToLongBits(double)}.
|
public abstract void | writeFloat(float val)Writes the specified 32-bit float. The resulting output is the four bytes
returned by {@link Float#floatToIntBits(float)}.
|
public abstract void | writeInt(int val)Writes the specified 32-bit int. The resulting output is the four bytes,
highest order first, of {@code val}.
|
public abstract void | writeLong(long val)Writes the specified 64-bit long. The resulting output is the eight
bytes, highest order first, of {@code val}.
|
public abstract void | writeShort(int val)Writes the specified 16-bit short. Only the lower two bytes of {@code
val} are written with the higher one written first.
|
public abstract void | writeUTF(java.lang.String str)Writes the specified string encoded in {@link DataInput modified UTF-8}.
|