public class ByteBufferReader extends Object
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
buffer |
Constructor and Description |
---|
ByteBufferReader() |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress() |
ByteBuffer |
getBuffer() |
byte |
getByte() |
byte[] |
getBytes(int length) |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
int |
getLTriad() |
short |
getShort() |
String |
getString() |
protected ByteBuffer buffer
public byte getByte()
public short getShort()
public int getLTriad()
public int getInt()
public long getLong()
public float getFloat()
public double getDouble()
public byte[] getBytes(int length)
public String getString()
public InetSocketAddress getAddress()
public ByteBuffer getBuffer()
Copyright © 2016. All rights reserved.