public static class FramingHeaderSpecification.EndianessFieldSpecification extends FramingHeaderSpecification.FieldSpecification
encodingType field.| Constructor and Description |
|---|
EndianessFieldSpecification(int offset,
int size,
boolean signed,
MessageSchema.Endianess endianess,
byte[] litteEndianSign,
byte[] bigEndianSign)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBigEndianSign()
Signature if the message content uses big-endian byte order.
|
byte[] |
getLitteEndianSign()
Signature if the message content uses little-endian byte order.
|
getEndianess, getOffset, getSize, getSuitablePrimitive, isSignedpublic EndianessFieldSpecification(int offset,
int size,
boolean signed,
MessageSchema.Endianess endianess,
byte[] litteEndianSign,
byte[] bigEndianSign)
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.litteEndianSign - Signature if the message content uses little-endian byte order.bigEndianSign - Signature if the message content uses big-endian byte order.public byte[] getLitteEndianSign()
public byte[] getBigEndianSign()
Copyright © 2005–2025 Onix Solutions. All rights reserved.