public final class MessageHeaderEncoder
extends java.lang.Object
implements org.agrona.sbe.CompositeEncoderFlyweight
| Modifier and Type | Field and Description |
|---|---|
static java.nio.ByteOrder |
BYTE_ORDER |
static int |
ENCODED_LENGTH |
static int |
SCHEMA_ID |
static int |
SCHEMA_VERSION |
| Constructor and Description |
|---|
MessageHeaderEncoder() |
public static final int SCHEMA_ID
public static final int SCHEMA_VERSION
public static final int ENCODED_LENGTH
public static final java.nio.ByteOrder BYTE_ORDER
public MessageHeaderEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
wrap in interface org.agrona.sbe.EncoderFlyweightpublic org.agrona.MutableDirectBuffer buffer()
buffer in interface org.agrona.sbe.EncoderFlyweightbuffer in interface org.agrona.sbe.Flyweightpublic int offset()
offset in interface org.agrona.sbe.Flyweightpublic int encodedLength()
encodedLength in interface org.agrona.sbe.Flyweightpublic int sbeSchemaId()
sbeSchemaId in interface org.agrona.sbe.Flyweightpublic int sbeSchemaVersion()
sbeSchemaVersion in interface org.agrona.sbe.Flyweightpublic static int blockLengthEncodingOffset()
public static int blockLengthEncodingLength()
public static int blockLengthNullValue()
public static int blockLengthMinValue()
public static int blockLengthMaxValue()
public MessageHeaderEncoder blockLength(int value)
public static int templateIdEncodingOffset()
public static int templateIdEncodingLength()
public static int templateIdNullValue()
public static int templateIdMinValue()
public static int templateIdMaxValue()
public MessageHeaderEncoder templateId(int value)
public static int schemaIdEncodingOffset()
public static int schemaIdEncodingLength()
public static int schemaIdNullValue()
public static int schemaIdMinValue()
public static int schemaIdMaxValue()
public MessageHeaderEncoder schemaId(int value)
public static int versionEncodingOffset()
public static int versionEncodingLength()
public static int versionNullValue()
public static int versionMinValue()
public static int versionMaxValue()
public MessageHeaderEncoder version(int value)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.