Interface MessageDecoderFlyweight

    • Method Detail

      • wrap

        MessageDecoderFlyweight wrap​(DirectBuffer buffer,
                                     int offset,
                                     int actingBlockLength,
                                     int actingVersion)
        Wrap a buffer containing an encoded message for decoding.
        Parameters:
        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.
        Returns:
        the MessageDecoderFlyweight for fluent API design.
      • appendTo

        java.lang.StringBuilder appendTo​(java.lang.StringBuilder builder)
        Populate the supplied StringBuilder with the string representation of the message.
        Parameters:
        builder - destination for the string representation.
        Returns:
        the supplied builder for a fluent API.
      • sbeDecodedLength

        default int sbeDecodedLength()
        Gets the total length of this flyweight by moving from the end of the block though all the variable length fields.
        Returns:
        the total decoded length for the flyweight.