public OpenPGPFilterInputStream(InputStream in, int buffersize) {
		super(in);

		int exponent = 9;

		while ((1 << exponent) < buffersize && exponent < 30)
			exponent++;
		BUFFERSIZE = 1 << exponent;
		BUFFERPOWER = (byte) exponent;
		buf = new byte[BUFFERSIZE];
	}