code: public static int readInt(byte[] bytes, int start) {
          return (((bytes[start] & 0xff) << 24) +
              ((bytes[start + 1] & 0xff) << 16) +
              ((bytes[start + 2] & 0xff) << 8) +
              ((bytes[start + 3] & 0xff)));
  
      }
docs: Parse an integer from a byte array.