Interface EncoderFlyweight

    • Method Detail

      • buffer

        MutableDirectBuffer buffer()
        Buffer in which the flyweight is encoded.
        Specified by:
        buffer in interface Flyweight
        Returns:
        buffer in which the flyweight is encoded.
      • wrap

        EncoderFlyweight wrap​(MutableDirectBuffer buffer,
                              int offset)
        Wrap a buffer for encoding at a given offset.
        Parameters:
        buffer - to be wrapped and into which the type will be encoded.
        offset - at which the encoded object will begin.
        Returns:
        the EncoderFlyweight for fluent API design.