public class COSPredictorDecode extends ASBufferedInFilter
| Modifier and Type | Field and Description |
|---|---|
static int |
BITS_PER_COMPONENT_DEFAULT |
static int |
COLORS_DEFAULT |
static int |
COLUMNS_DEFAULT |
static byte |
PREDICTOR_DEFAULT |
BF_BUFFER_SIZE, buffernPos, resourceUsers| Constructor and Description |
|---|
COSPredictorDecode(ASInputStream stream,
COSDictionary decodeParams)
Constructor from stream and decode parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] buffer,
int size) |
void |
reset() |
addToBuffer, bufferPop, bufferPopArray, bufferSize, closeResource, concatenate, decode, feedBuffer, getBufferBegin, getBufferCapacity, getBufferEnd, getReadCounter, initialize, isEOF, peek, peek, processBuffer, read, readByte, resetReadCounter, skip, unread, unreadclose, getInputStream, incrementResourceUsers, read, setInputStreamcreateStreamFromStreamavailable, mark, markSupported, read, skippublic static final byte PREDICTOR_DEFAULT
public static final int COLORS_DEFAULT
public static final int BITS_PER_COMPONENT_DEFAULT
public static final int COLUMNS_DEFAULT
public COSPredictorDecode(ASInputStream stream, COSDictionary decodeParams) throws IOException
stream - is unpredicted stream.decodeParams - is COSDictionary containing decode parameters.IOExceptionpublic int read(byte[] buffer,
int size)
throws IOException
read in class ASBufferedInFilterIOExceptionpublic void reset()
throws IOException
reset in class ASBufferedInFilterIOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.