while (stream.available() > 0) stream.read();
void readPixelData(PngIdatChunk chunk, PngChunkReader chunkReader) throws IOException {	InputStream stream = new PngInputStream(chunk, chunkReader);	InputStream inflaterStream = Compatibility.newInflaterInputStream(stream);	if (inflaterStream != null) {		stream = new BufferedInputStream(inflaterStream);	} else {		stream = new PngDecodingDataStream(stream);	}	int interlaceMethod = headerChunk.getInterlaceMethod();	if (interlaceMethod == PngIhdrChunk.INTERLACE_METHOD_NONE) {		readNonInterlacedImage(stream);	} else {		readInterlacedImage(stream);	}	stream.close();}