code: public static int readInt(byte[] source, int position) {
          return (source[position] & 0xFF) << 24
                  | (source[position + 1] & 0xFF) << 16
                  | (source[position + 2] & 0xFF) << 8
                  | (source[position + 3] & 0xFF);
      }
docs: Reads a 32-bit integer from the given byte array starting at the given position.
  
  @param source   The byte array to read from.
  @param position The position in the byte array to start reading at.
  @return The read number.