pub fn ring_buffer_record_len(message_len: usize) -> usize
Returns the ring buffer record length given the message length. This accounts for the ring buffer message header and any padding required to maintain alignment.