|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.io.DataOutputStream rice.p2p.util.rawserialization.SimpleOutputBuffer
DESCRIBE THE CLASS
Field Summary |
Fields inherited from class java.io.DataOutputStream |
written |
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary | |
SimpleOutputBuffer()
Constructor for SimpleOutputBuffer. |
Method Summary | |
int |
bytesRemaining()
DESCRIBE THE METHOD |
byte[] |
getBytes()
Gets the Bytes attribute of the SimpleOutputBuffer object |
int |
getWritten()
Gets the Written attribute of the SimpleOutputBuffer object |
void |
writeByte(byte v)
DESCRIBE THE METHOD |
void |
writeChar(char v)
DESCRIBE THE METHOD |
void |
writeShort(short v)
DESCRIBE THE METHOD |
Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.io.FilterOutputStream |
close, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface rice.p2p.commonapi.rawserialization.OutputBuffer |
write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeUTF |
Methods inherited from interface java.io.DataOutput |
write |
Constructor Detail |
public SimpleOutputBuffer()
Method Detail |
public byte[] getBytes()
public int getWritten()
public void writeByte(byte v) throws java.io.IOException
writeByte
in interface OutputBuffer
v
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic void writeChar(char v) throws java.io.IOException
writeChar
in interface OutputBuffer
v
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic void writeShort(short v) throws java.io.IOException
writeShort
in interface OutputBuffer
v
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic int bytesRemaining()
bytesRemaining
in interface OutputBuffer
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |