public static class FramingHeaderSpecification.FieldSpecification extends Object
The main characteristics required for a field specification: offset, size, sign, and byte order.
| Constructor and Description |
|---|
FieldSpecification(int offset,
int size,
boolean signed,
MessageSchema.Endianess endianess)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MessageSchema.Endianess |
getEndianess()
Byte order of the field.
|
int |
getOffset()
Offset of the field.
|
int |
getSize()
Size of the field.
|
UnifiedMetaData.PrimitiveType |
getSuitablePrimitive()
Primitive SBE type for the field.
|
boolean |
isSigned()
Checks if the field use signed type to encode.
|
public FieldSpecification(int offset,
int size,
boolean signed,
MessageSchema.Endianess endianess)
offset - Offset of the field.size - Size of the field, in bytes.signed - true if the field encoded with signed type.endianess - Byte order for the field.public int getOffset()
public int getSize()
public boolean isSigned()
public MessageSchema.Endianess getEndianess()
public UnifiedMetaData.PrimitiveType getSuitablePrimitive()
Copyright © 2005–2025 Onix Solutions. All rights reserved.