public interface MessageDecoderFlyweight extends MessageFlyweight, DecoderFlyweight
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
appendTo(StringBuilder builder)
Populate the supplied
StringBuilder with the string representation of the message. |
default int |
sbeDecodedLength()
Gets the total length of this flyweight by moving from the end of the block though all the variable
length fields.
|
MessageDecoderFlyweight |
wrap(DirectBuffer buffer,
int offset,
int actingBlockLength,
int actingVersion)
Wrap a buffer containing an encoded message for decoding.
|
limit, limit, sbeBlockLength, sbeSemanticType, sbeTemplateIdbuffer, encodedLength, offset, sbeSchemaId, sbeSchemaVersionMessageDecoderFlyweight wrap(DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
buffer - containing the encoded message.offset - in the buffer at which the decoding should begin.actingBlockLength - the root block length the decoder should act on.actingVersion - the version of the encoded message.MessageDecoderFlyweight for fluent API design.StringBuilder appendTo(StringBuilder builder)
StringBuilder with the string representation of the message.builder - destination for the string representation.default int sbeDecodedLength()
Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.