[][src]Function bitcoin_num::endian::slice_to_u32_be

pub fn slice_to_u32_be(slice: &[u8]) -> u32

Converts &[u8] slice in big endian encoding (most significant byte first) into u32. Panics if the slice length is not equal to the size of the type