class CLOutputStream extends DataOutputStream
written
out
Constructor and Description |
---|
CLOutputStream(OutputStream out)
Construct a CLOutputStream from the specified output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
writeInt(long v)
Write four bytes to the output stream to represent the value of the
argument.
|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
close, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public CLOutputStream(OutputStream out)
out
- output stream.public final void writeInt(long v) throws IOException
(byte) ( 0xFF & ( v >> 24 ) ) (byte) ( 0xFF & ( v >> 16 ) ) (byte) ( 0xFF & ( v >> 8 ) ) (byte) ( 0xFF & v )
v
- the int value to be written.IOException
- if an error occurs while writing.