rice.p2p.util.rawserialization
Class SimpleInputBuffer
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
rice.p2p.util.rawserialization.SimpleInputBuffer
- All Implemented Interfaces:
- Closeable, DataInput, InputBuffer
public class SimpleInputBuffer
- extends DataInputStream
- implements InputBuffer
|
Method Summary |
int |
bytesRemaining()
How much data is left in the InputBuffer. |
| Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
| 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.InputBuffer |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUTF |
SimpleInputBuffer
public SimpleInputBuffer(ByteBuffer bb)
SimpleInputBuffer
public SimpleInputBuffer(byte[] bytes)
SimpleInputBuffer
public SimpleInputBuffer(byte[] bytes,
int offset)
SimpleInputBuffer
public SimpleInputBuffer(byte[] bytes,
int offset,
int length)
bytesRemaining
public int bytesRemaining()
- Description copied from interface:
InputBuffer
- How much data is left in the InputBuffer.
May be UNKNOWN
- Specified by:
bytesRemaining in interface InputBuffer
Copyright © 2010. All Rights Reserved.