Interface Producer

Producer that can produce a fixed size payload of data, on demand.
Can be used to generate data for serialization, when the amount of data is known ahead of time.
Deprecated.

Interface summary


size -> int
The size of the generated payload.
write-to byte-array/ByteArray offset/int -> none
Writes the payload into the given byte-array at the given offset.

Methods

The size of the generated payload.

write-to byte-array/ByteArray offset/int -> none
Writes the payload into the given byte-array at the given offset.