| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private final RiverMarshaller |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearClassCache()
Implements org. |
| public void | clearInstanceCache()
Implements org. |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | start(final ByteOutput
the new stream newOutput)Implements org. |
| public void | write(final int
the byte v)Implements java. |
| public void | write(final byte[]
the data to be written b)Implements java. |
| public void | write(final byte[]
the data to be written bytes, final int the start offset in the data off, final int the number of bytes that are written len)Implements java. |
| public void | writeBoolean(final boolean
the boolean to be written. v)Implements java. boolean value to this output stream.
|
| public void | writeByte(final int
the byte value to be written. v)Implements java. v.
|
| public void | writeBytes(final String
the string of bytes to be written. s)Implements java. |
| public void | writeChar(final int
the v)char value to be written.Implements java. char value, which
is comprised of two bytes, to the
output stream.
|
| public void | writeChars(final String
the string value to be written. s)Implements java. s,
to the output stream, in order,
two bytes per character.
|
| public void | writeDouble(final double
the v)double value to be written.Implements java. double value,
which is comprised of eight bytes, to the output stream.
|
| public void | writeFloat(final float
the v)float value to be written.Implements java. float value,
which is comprised of four bytes, to the output stream.
|
| public void | writeInt(final int
the v)int value to be written.Implements java. int value, which is
comprised of four bytes, to the output stream.
|
| public void | writeLong(final long
the v)long value to be written.Implements java. long value, which is
comprised of eight bytes, to the output stream.
|
| public void | writeObject(final Object
the object to be written obj)Implements java. |
| public void | writeObjectUnshared(final Object
the object to be written obj)Implements org. |
| public void | writeShort(final int
the v)short value to be written.Implements java. |
| public void | writeUTF(final String
the string value to be written. s)Implements java. s.
|
| buffer | back to summary |
|---|---|
| private final byte[] buffer | |
| position | back to summary |
|---|---|
| private int position | |
| riverMarshaller | back to summary |
|---|---|
| private final RiverMarshaller riverMarshaller | |
| BlockMarshaller | back to summary |
|---|---|
| pack-priv BlockMarshaller(RiverMarshaller riverMarshaller, int blockSize) | |
| clearClassCache | back to summary |
|---|---|
| public void clearClassCache() throws IOException Implements org. Doc from org. Discard the class cache. Implicitly also discards the instance cache.
| |
| clearInstanceCache | back to summary |
|---|---|
| public void clearInstanceCache() throws IOException Implements org. Doc from org. Discard the instance cache. May also discard the class cache in implementations that do not support separated class and instance caches.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes the stream. This method must be called to release any resources associated with the stream.
| |
| doWriteObject | back to summary |
|---|---|
| private void doWriteObject(final Object obj, final boolean unshared) throws IOException | |
| finish | back to summary |
|---|---|
| public void finish() throws IOException Implements org. Doc from org. Finish marshalling to a stream. Any transient class or instance cache is discarded. The stream is released.
No further marshalling may be done until the
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements java. Doc from java. Flushes the stream. This will write any buffered output bytes.
| |
| start | back to summary |
|---|---|
| public void start(final ByteOutput newOutput) throws IOException Implements org. Doc from org. Begin marshalling to a stream.
| |
| write | back to summary |
|---|---|
| public void write(final int v) throws IOException Implements java. Doc from java. Writes a byte. This method will block until the byte is actually written.
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b) throws IOException Implements java. Doc from java. Writes an array of bytes. This method will block until the bytes are actually written.
| |
| write | back to summary |
|---|---|
| public void write(final byte[] bytes, final int off, final int len) throws IOException Implements java. Doc from java. Writes a sub array of bytes.
| |
| writeBoolean | back to summary |
|---|---|
| public void writeBoolean(final boolean v) throws IOException Implements java. Doc from java. Writes a
| |
| writeByte | back to summary |
|---|---|
| public void writeByte(final 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(final 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(final 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(final String s) throws IOException Implements java. Doc from java. Writes every character in the string
| |
| writeDouble | back to summary |
|---|---|
| public void writeDouble(final double v) throws IOException Implements java. Doc from java. Writes a
| |
| writeFloat | back to summary |
|---|---|
| public void writeFloat(final float v) throws IOException Implements java. Doc from java. Writes a
| |
| writeInt | back to summary |
|---|---|
| public void writeInt(final 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 void writeLong(final long v) throws IOException Implements java. Doc from java. Writes a
The bytes written by this method may be
read by the
| |
| writeObject | back to summary |
|---|---|
| public void writeObject(final Object obj) throws IOException Implements java. Doc from java. Write an object to the underlying storage or stream. The class that implements this interface defines how the object is written.
| |
| writeObjectUnshared | back to summary |
|---|---|
| public void writeObjectUnshared(final Object obj) throws IOException Implements org. Doc from org. Write an object to the underlying storage or stream as a new instance. The class that implements this interface defines how the object is written.
| |
| writeShort | back to summary |
|---|---|
| public void writeShort(final 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(final String s) 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
| |