public interface Encoder extends CharAppender
| Modifier and Type | Field and Description |
|---|---|
static int |
BITS_IN_INT |
| Modifier and Type | Method and Description |
|---|---|
Encoder |
copyTo(Encoder otherEncoder)
Copies the field values on the other Encoder to be the same as this Encoder.
|
long |
encode(MutableAsciiBuffer buffer,
int offset)
Encode the message onto a buffer in FIX tag=value\001 format.
|
SessionHeaderEncoder |
header() |
static int |
length(long result) |
long |
messageType()
Gets the long encoded message type of the message in question.
|
static int |
offset(long result) |
void |
reset()
Resets the encoder.
|
void |
resetMessage() |
static long |
result(int length,
int offset) |
appendTostatic final int BITS_IN_INT
static int length(long result)
static int offset(long result)
static long result(int length,
int offset)
long encode(MutableAsciiBuffer buffer, int offset)
buffer - the buffer to encode the message to.offset - the offset within the buffer to start encoding the message at.EncodingException - if a required field (other than the message sequence number)
is missing and codec validation is enabled.void reset()
long messageType()
SessionHeaderEncoder header()
void resetMessage()
Encoder copyTo(Encoder otherEncoder)
otherEncoder - the encoder to set the values of.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.