pub fn stream_max_length_bytes(max_event_bytes: u64) -> u64
Compute the byte capacity for a read stream given an estimated event size.