Class LevelArrayWriter

java.lang.Object
express.mvp.myra.codec.examples.generated.orderbook.LevelArrayWriter
All Implemented Interfaces:
LevelWriter

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

    • count

      public int count
    • priceNanos

      public long[] priceNanos
    • size

      public int[] size
    • orderCount

      public int[] orderCount
    • hasMaker

      public boolean[] hasMaker
    • maker

      public boolean[] maker
  • Constructor Details

    • LevelArrayWriter

      public LevelArrayWriter()
  • Method Details

    • count

      public int count()
    • writeTo

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