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 TypeMethodDescriptiondefault voidwriteTo(OrderBookSnapshotBuilder builder) Writes field values into the provided builder instance.voidwriteTo(OrderBookSnapshotBuilder builder, int index) Writes the element at the given index into the provided builder.
-
Method Details
-
writeTo
Writes the element at the given index into the provided builder.- Parameters:
builder- target builderindex- element index (0-based)
-
writeTo
Writes field values into the provided builder instance.- Parameters:
builder- target builder
-