public ObbInfoV1(int flags, byte[] salt, String packageName, int packageVersion) {
        super();
        if (salt == null) {
            this.salt_ = new byte[SALT_LENGTH];
        } else {
            if (salt.length != SALT_LENGTH) {
                throw new IllegalArgumentException("length of 'salt' must be " + SALT_LENGTH);
            }
            this.salt_ = Arrays.copyOf(salt, SALT_LENGTH);
        }
        this.flags_ = flags;
        if (packageName.isEmpty()) {
            throw new IllegalArgumentException("'packageName' must not be empty.");
        }
        this.packageName_ = packageName;
        this.packageVersion_ = packageVersion;
    }