Code example for InflaterInputStream

Methods: closeread

0
	 */ 
	public void test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() throws IOException { 
		byte byteArray[] = new byte[100];
		InputStream infile = Support_Resources.getStream("hyts_constru_OD.txt"); // android-changed
		Inflater inflate = new Inflater();
		InflaterInputStream inflatIP = new InflaterInputStream(infile,
				inflate);
 
		inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 bytes
		inflatIP.close();
	} 
 
	/** 
	 * @tests java.util.zip.InflaterInputStream#InflaterInputStream(java.io.InputStream, 
	 *        java.util.zip.Inflater, int) 
	 */ 
	public void test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() throws IOException { 
		int result = 0;
		int buffer[] = new int[500];
		InputStream infile = Support_Resources.getStream("hyts_constru_ODI.txt"); // android-changed
Connect your IDE to all the code out there  Get Codota for Java