pub fn find_first_null(bytes: &[u8]) -> usize
Finds the index of the first null byte (\0) in the given slice.
\0
Returns the index of the first null byte, or the full length of the slice if no null is found.