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 IOException
- Throws:
IOException
read
int read(byte[] b)
throws IOException
- Throws:
IOException
readBoolean
boolean readBoolean()
throws IOException
- Throws:
IOException
readByte
byte readByte()
throws IOException
- Throws:
IOException
readChar
char readChar()
throws IOException
- Throws:
IOException
readDouble
double readDouble()
throws IOException
- Throws:
IOException
readFloat
float readFloat()
throws IOException
- Throws:
IOException
readInt
int readInt()
throws IOException
- Throws:
IOException
readLong
long readLong()
throws IOException
- Throws:
IOException
readShort
short readShort()
throws IOException
- Throws:
IOException
readUTF
String readUTF()
throws IOException
- Throws:
IOException
bytesRemaining
int bytesRemaining()
- How much data is left in the InputBuffer.
May be UNKNOWN
Copyright © 2010. All Rights Reserved.