Interface EncoderFlyweight

All Superinterfaces:
Flyweight
All Known Subinterfaces:
CompositeEncoderFlyweight, MessageEncoderFlyweight

public interface EncoderFlyweight extends Flyweight
A flyweight for encoding an SBE type.
  • Method Details

    • 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.