Class LegArrayWriter

java.lang.Object
express.mvp.myra.codec.examples.generated.portfolio.LegArrayWriter
All Implemented Interfaces:
LegWriter

public final class LegArrayWriter extends Object implements LegWriter
Auto-generated array-backed writer for Leg. Populate arrays and reuse this instance for repeated fields.
  • Field Details

    • count

      public int count
    • symbol

      public String[] symbol
    • symbolScratch

      public MemorySegment symbolScratch
    • side

      public Side[] side
    • quantity

      public int[] quantity
  • Constructor Details

    • LegArrayWriter

      public LegArrayWriter()
  • Method Details

    • count

      public int count()
    • writeTo

      public void writeTo(LegBuilder builder, int index)
      Description copied from interface: LegWriter
      Writes the element at the given index into the provided builder.
      Specified by:
      writeTo in interface LegWriter
      Parameters:
      builder - target builder
      index - element index (0-based)