public class StructReader8 extends StructReader
Constructor and Description |
---|
StructReader8(byte[] ba)
Create instance of StructReader8.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
read8(java.lang.Class<T> t,
LengthFunction lenfunc)
Read.
|
<T> T |
read8(java.lang.Class<T> t,
LengthFunction lenfunc,
MaxLengthFunction maxlenfunc)
Read.
|
<T> T |
read8(java.lang.Class<T> t,
LengthFunction lenfunc,
MaxLengthFunction maxlenfunc,
ElementsFunction elmfunc)
Read.
|
public StructReader8(byte[] ba)
ba
- byte array to read frompublic <T> T read8(java.lang.Class<T> t, LengthFunction lenfunc) throws RecordException
T
- struct typet
- class of what to readlenfunc
- function providing field lengthRecordException
- if impossible to convert between types in class and structpublic <T> T read8(java.lang.Class<T> t, LengthFunction lenfunc, MaxLengthFunction maxlenfunc) throws RecordException
T
- struct typet
- class of what to readlenfunc
- function providing field lengthmaxlenfunc
- function providing struct max lengthRecordException
- if impossible to convert between types in class and structpublic <T> T read8(java.lang.Class<T> t, LengthFunction lenfunc, MaxLengthFunction maxlenfunc, ElementsFunction elmfunc) throws RecordException
T
- struct typet
- class of what to readlenfunc
- function providing field lengthmaxlenfunc
- function providing struct max lengthelmfunc
- function providing number of elementsRecordException
- if impossible to convert between types in class and struct