Package org.eclipse.cbi.common.util
Class ByteBufferRecord
java.lang.Object
org.eclipse.cbi.common.util.ByteBufferRecord
- All Implemented Interfaces:
Record
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.cbi.common.util.Record
Record.Fowarding
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
offset
(RecordDefinition.Field field) long
size()
private long
stringValue
(RecordDefinition.Field field, Charset charset) int
com.google.common.primitives.UnsignedInteger
com.google.common.primitives.UnsignedLong
-
Field Details
-
buffer
-
recordDefinition
-
-
Constructor Details
-
ByteBufferRecord
- Throws:
IOException
-
-
Method Details
-
uint16Value
- Specified by:
uint16Value
in interfaceRecord
-
uint32Value
- Specified by:
uint32Value
in interfaceRecord
-
uint64Value
- Specified by:
uint64Value
in interfaceRecord
-
stringValue
- Specified by:
stringValue
in interfaceRecord
-
size
public long size() -
offset
-
size
-