public class COSFilterLZWDecode extends ASBufferedInFilter
BF_BUFFER_SIZE, buffer, START_BUFFER_SIZEisClosed, isSourceClosed, resourceUsers| Constructor and Description |
|---|
COSFilterLZWDecode(ASInputStream stream,
COSDictionary decodeParams)
Constructor from LZW encoded data stream and decode parameters
dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] buffer,
int size) |
void |
reset() |
int |
skip(int size)
Skips given number of decoded bytes in stream.
|
addToBuffer, bufferPop, bufferPopArray, bufferSize, closeResource, concatenate, feedBuffer, getBufferBegin, getBufferCapacity, getBufferEnd, getReadCounter, getStream, getStreamUntilToken, initialize, isEOF, peek, peek, processBuffer, read, readByte, resetReadCounter, unread, unreadclose, decrementResourceUsers, getInputStream, incrementResourceUsers, read, setInputStreamcreateStreamFromStreamavailable, mark, markSupported, read, skippublic COSFilterLZWDecode(ASInputStream stream, COSDictionary decodeParams) throws IOException
stream - is LZW encoded data.decodeParams - is decode parameters dictionary.IOExceptionpublic int read(byte[] buffer,
int size)
throws IOException
read in class ASBufferedInFilterIOExceptionpublic int skip(int size)
throws IOException
skip in class ASBufferedInFiltersize - is amount of bytes to skip.IOException - if stream-reading error occurs.public void reset()
throws IOException
reset in class ASBufferedInFilterIOExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.