Read an integer or fail if not enough bytes available for reading. The numeric value is decoded in the network order (Big Endian).