public final class ByteBufferWrapper
extends java.lang.Object
Constructor and Description |
---|
ByteBufferWrapper(byte[] buf)
Read from a fixed byte[]; should not be closed.
|
Modifier and Type | Method and Description |
---|---|
int |
get1U() |
char |
get2() |
int |
get3() |
int |
get4() |
float |
get4f() |
double |
get8d() |
boolean |
hasRemaining() |
int |
position() |
void |
skip(int skip)
Skip over some bytes in the byte buffer.
|
public ByteBufferWrapper(byte[] buf)
public int position()
public boolean hasRemaining()
public void skip(int skip)
public int get1U()
public char get2()
public int get3()
public int get4()
public float get4f()
public double get8d()