pub fn ring_byte_len(slot_count: u32) -> Option<usize>
Return the number of bytes required by a ring buffer with slot_count slots.
slot_count