pub fn decode_length_prefix(data: &[u8]) -> Result<u32>
Decode a 4-byte big-endian length prefix from the start of a byte slice.