pub fn as_u32(buf: &[u8]) -> u32
slice as u32.
let int = faster_stun::util::as_u32(&[0x00, 0x00, 0x00, 0x04]); assert_eq!(int, 4);