Interface OrderBookSnapshotWriter

All Known Implementing Classes:
OrderBookSnapshotWriterImpl

public interface OrderBookSnapshotWriter
Auto-generated writer interface for OrderBookSnapshot. Provides a reusable, allocation-free way to populate a builder.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Writes field values into the provided builder instance.
    void
    writeTo(OrderBookSnapshotBuilder builder, int index)
    Writes the element at the given index into the provided builder.
  • Method Details

    • writeTo

      void writeTo(OrderBookSnapshotBuilder builder, int index)
      Writes the element at the given index into the provided builder.
      Parameters:
      builder - target builder
      index - element index (0-based)
    • writeTo

      default void writeTo(OrderBookSnapshotBuilder builder)
      Writes field values into the provided builder instance.
      Parameters:
      builder - target builder