|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
java.io.OutputStream
com.tangosol.io.AbstractWriteBuffer.AbstractBufferOutput
com.tangosol.io.nio.ByteBufferWriteBuffer.ByteBufferOutput
public final class ByteBufferWriteBuffer.ByteBufferOutput
This is a simple implementation of the BufferOutput interface on top of a ByteBuffer.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.io.AbstractWriteBuffer.AbstractBufferOutput |
|---|
m_ofWrite |
| Fields inherited from interface com.tangosol.io.WriteBuffer.BufferOutput |
|---|
MAX_PACKED_INT_SIZE, MAX_PACKED_LONG_SIZE |
| Constructor Summary | |
|---|---|
ByteBufferWriteBuffer.ByteBufferOutput(int of)Construct a ByteBufferOutput on top of an NIO ByteBuffer. |
|
| Method Summary | |
|---|---|
void |
writeChar(int ch)Writes a char value, comprised of the 16 low-order bits of the argument ch; the 16 high-order bits of ch are ignored. |
void |
writeDouble(double dfl)Writes a double value. |
void |
writeFloat(float fl)Writes a float value. |
void |
writeInt(int n)Writes an int value. |
void |
writeLong(long l)Writes a long value. |
void |
writeShort(int n)Writes a short value, comprised of the 16 low-order bits of the argument n; the 16 high-order bits of n are ignored. |
| Methods inherited from class com.tangosol.io.AbstractWriteBuffer.AbstractBufferOutput |
|---|
calcUTF, close, flush, formatUTF, formatUTF, getBuffer, getCharBuf, getOffset, setOffset, write, write, write, writeBoolean, writeBuffer, writeBuffer, writeByte, writeBytes, writeChars, writePackedInt, writePackedLong, writeSafeUTF, writeStream, writeStream, writeUTF, writeUTF |
| Constructor Detail |
|---|
public ByteBufferWriteBuffer.ByteBufferOutput(int of)
of - the offset at which to begin writing| Method Detail |
|---|
public void writeShort(int n)
throws java.io.IOException
writeShort in interface WriteBuffer.BufferOutputwriteShort in interface java.io.DataOutputwriteShort in class AbstractWriteBuffer.AbstractBufferOutputn - the short to write (passed as an integer)java.io.IOException - if an I/O error occurs
public void writeChar(int ch)
throws java.io.IOException
writeChar in interface WriteBuffer.BufferOutputwriteChar in interface java.io.DataOutputwriteChar in class AbstractWriteBuffer.AbstractBufferOutputch - the char to write (passed as an integer)java.io.IOException - if an I/O error occurs
public void writeInt(int n)
throws java.io.IOException
writeInt in interface WriteBuffer.BufferOutputwriteInt in interface java.io.DataOutputwriteInt in class AbstractWriteBuffer.AbstractBufferOutputn - the int to writejava.io.IOException - if an I/O error occurs
public void writeLong(long l)
throws java.io.IOException
writeLong in interface WriteBuffer.BufferOutputwriteLong in interface java.io.DataOutputwriteLong in class AbstractWriteBuffer.AbstractBufferOutputl - the long to writejava.io.IOException - if an I/O error occurs
public void writeFloat(float fl)
throws java.io.IOException
writeFloat in interface WriteBuffer.BufferOutputwriteFloat in interface java.io.DataOutputwriteFloat in class AbstractWriteBuffer.AbstractBufferOutputfl - the float to writejava.io.IOException - if an I/O error occurs
public void writeDouble(double dfl)
throws java.io.IOException
writeDouble in interface WriteBuffer.BufferOutputwriteDouble in interface java.io.DataOutputwriteDouble in class AbstractWriteBuffer.AbstractBufferOutputdfl - the double to writejava.io.IOException - if an I/O error occurs
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||