Skip to main content

encode_ack_bytes

Function encode_ack_bytes 

Source
pub fn encode_ack_bytes(batch_id: u64) -> [u8; 44]
Expand description

Encode an ACK frame directly into a stack-allocated buffer. Avoids the Vec<u8> allocation that encode_frame requires.