Skip to main content

encode_ack_batch

Function encode_ack_batch 

Source
pub fn encode_ack_batch(accepted: &[bool]) -> Vec<u8> ⓘ
Expand description

Encodes an AckBatch payload from per-record outcomes.

accepted[i] == true means record i is durable at the requested tier. Padding bits in the final byte are left zero, which the decoder requires.