public class JavaByteBufferReader extends ByteBufferReader
mBuf| Constructor and Description |
|---|
JavaByteBufferReader(ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
void |
get(byte[] dst) |
void |
get(byte[] dst,
int offset,
int length) |
char |
getChar() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
short |
getShort() |
int |
position() |
void |
position(int newPosition) |
getByteBufferReader, order, orderpublic JavaByteBufferReader(ByteBuffer buf) throws IOException
IOExceptionpublic byte get()
get in class ByteBufferReaderpublic void get(byte[] dst)
get in class ByteBufferReaderpublic void get(byte[] dst,
int offset,
int length)
get in class ByteBufferReaderpublic char getChar()
getChar in class ByteBufferReaderpublic double getDouble()
getDouble in class ByteBufferReaderpublic float getFloat()
getFloat in class ByteBufferReaderpublic int getInt()
getInt in class ByteBufferReaderpublic long getLong()
getLong in class ByteBufferReaderpublic short getShort()
getShort in class ByteBufferReaderpublic int position()
position in class ByteBufferReaderpublic void position(int newPosition)
position in class ByteBufferReaderCopyright © 2014. All rights reserved.