public class COSFilterFlateDecode extends ASBufferedInFilter
BF_BUFFER_SIZE, buffer, START_BUFFER_SIZEisClosed, isSourceClosed, resourceUsers| Constructor and Description |
|---|
COSFilterFlateDecode(ASInputStream stream)
Constructor from Flate encoded stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] buffer,
int size)
Decodes flate compressed data from stream and reads up to
size bytes of decompressed data into given array. |
void |
reset() |
addToBuffer, bufferPop, bufferPopArray, bufferSize, closeResource, concatenate, feedBuffer, getBufferBegin, getBufferCapacity, getBufferEnd, getReadCounter, getStream, getStreamUntilToken, initialize, isEOF, peek, peek, processBuffer, read, readByte, resetReadCounter, skip, unread, unreadclose, decrementResourceUsers, getInputStream, incrementResourceUsers, read, setInputStreamcreateStreamFromStreamavailable, mark, markSupported, read, skippublic COSFilterFlateDecode(ASInputStream stream) throws IOException
stream - is Flate encoded stream.IOExceptionpublic int read(byte[] buffer,
int size)
throws IOException
size bytes of decompressed data into given array.read in class ASBufferedInFilterbuffer - is array into which data will be decompressed.size - is maximal amount of decompressed bytes.IOExceptionpublic void reset()
throws IOException
reset in class ASBufferedInFilterIOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.