rice.p2p.commonapi.rawserialization
Interface InputBuffer
- All Known Implementing Classes:
- FileInputBuffer, RandomAccessFileIOBuffer, SimpleInputBuffer, SocketInputBuffer
public interface InputBuffer
UNKNOWN
static final int UNKNOWN
- See Also:
- Constant Field Values
read
int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
readBoolean
boolean readBoolean()
throws java.io.IOException
- Throws:
java.io.IOException
readByte
byte readByte()
throws java.io.IOException
- Throws:
java.io.IOException
readChar
char readChar()
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
double readDouble()
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
float readFloat()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readLong
long readLong()
throws java.io.IOException
- Throws:
java.io.IOException
readShort
short readShort()
throws java.io.IOException
- Throws:
java.io.IOException
readUTF
java.lang.String readUTF()
throws java.io.IOException
- Throws:
java.io.IOException
bytesRemaining
int bytesRemaining()
- How much data is left in the InputBuffer.
May be UNKNOWN
Copyright © 2001-2005 - Rice Pastry.