[][src]Type Definition aeron_rs::concurrent::logbuffer::term_appender::OnReservedValueSupplier

type OnReservedValueSupplier = fn(_: AtomicBuffer, _: Index, _: Index) -> i64;

Supplies the reserved value field for a data frame header. The returned value will be set in the header as Little Endian format.

This will be called as the last action of encoding a data frame right before the length is set. All other fields in the header plus the body of the frame will have been written at the point of supply.

@param term_buffer for the message @param term_offset of the start of the message @param length of the message in bytes