fn byte(s: &str, idx: usize) -> u8
Get the byte at offset idx, or a default of b'\0' if we’re looking past the end of the input buffer.
b'\0'