public CipherInputStream()

in oss-20190517/src/main/java/com/aliyun/sdk/service/oss20190517/encryption/internal/CipherInputStream.java [25:33]


    public CipherInputStream(InputStream is, CryptoCipher c, int buffsize) {
        super(is);
        this.cryptoCipher = c;
        if (buffsize <= 0 || (buffsize % DEFAULT_IN_BUFFER_SIZE) != 0) {
            throw new IllegalArgumentException(
                    "buffsize (" + buffsize + ") must be a positive multiple of " + DEFAULT_IN_BUFFER_SIZE);
        }
        this.bufin = new byte[buffsize];
    }