pub fn read_u32be(buf: &[u8]) -> u32
Read a big-endian u32 from a 4-byte slice. Caller guarantees buf.len() >= 4.
buf.len() >= 4