pub fn try_encode_empty_ring(slot_count: u32) -> Result<Vec<u8>, ProtocolError>Expand description
Strictly encode an empty ring buffer with slot_count slots.
ยงErrors
Returns ProtocolError when the requested ring size overflows host
address space.