public interface FastStructReader<T>
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getByteBuffer()
Get byte buffer.
|
void |
init(byte[] ba)
Initialize byte buffer.
|
void |
init(java.nio.ByteBuffer bb)
Initialize byte buffer.
|
boolean |
more()
More records available.
|
T |
read(java.lang.Class<T> t)
Read.
|
void init(byte[] ba)
ba
- byte array to read fromvoid init(java.nio.ByteBuffer bb)
bb
- byte buffer to read fromT read(java.lang.Class<T> t) throws RecordException
t
- class of what to readRecordException
- if problem readingboolean more()
java.nio.ByteBuffer getByteBuffer()