public interface FieldInstruction
Modifier and Type | Method and Description |
---|---|
ITypeValue |
decodeToTypeValue(Type type,
BinaryMessage message,
boolean optionalOrMandatory)
Decodes specific value of type from to bytes message
|
byte[] |
encodeTypeValue(ITypeValue value,
boolean optionalOrMandatory)
Encodes specific value of type from to bytes
|
byte[] encodeTypeValue(ITypeValue value, boolean optionalOrMandatory)
value
- the valueoptionalOrMandatory
- ITypeValue decodeToTypeValue(Type type, BinaryMessage message, boolean optionalOrMandatory)
type
- the specific typemessage
- the bytes stream messageoptionalOrMandatory
- the flag that turn on/off optional/mandatory encodingCopyright © 2000-2017 EPAM Systems. All Rights Reserved.