docs: public static int readInt(byte b[], int offset) {
      int retValue;
  
      retValue = ((int)b[offset++]) << 24;
      retValue |= ((int)b[offset++] & 0xff) << 16;
      retValue |= ((int)b[offset++] & 0xff) << 8;
      retValue |= (int)b[offset] & 0xff;
  
      return retValue;
    }