public class EexecFilterDecode extends ASBufferedInFilter
BF_BUFFER_SIZE, buffernPos, resourceUsers| Constructor and Description |
|---|
EexecFilterDecode(ASInputStream stream,
boolean isCharstring)
Constructor from stream.
|
EexecFilterDecode(ASInputStream stream,
boolean isCharstring,
int lenIV)
Constructor from stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] buffer,
int size)
Decodes eexec encoded data and reads up to
size encoded
bytes into buffer. |
addToBuffer, bufferPop, bufferPopArray, bufferSize, closeResource, concatenate, decode, feedBuffer, getBufferBegin, getBufferCapacity, getBufferEnd, getReadCounter, initialize, isEOF, peek, peek, processBuffer, read, readByte, reset, resetReadCounter, skip, unread, unreadclose, getInputStream, incrementResourceUsers, read, setInputStreamcreateStreamFromStreamavailable, mark, markSupported, read, skippublic EexecFilterDecode(ASInputStream stream, boolean isCharstring, int lenIV) throws IOException
stream - is eexec-encoded stream.isCharstring - is true if passed stream is encoded charstring.lenIV - is number of random bytes added to encoded data, value of
LenIV in Private dictionary.IOExceptionpublic EexecFilterDecode(ASInputStream stream, boolean isCharstring) throws IOException
stream - is eexec-encoded stream.isCharstring - is true if passed stream is encoded charstring.IOExceptionpublic int read(byte[] buffer,
int size)
throws IOException
size encoded
bytes into buffer.read in class ASBufferedInFilterbuffer - is array into which data will be decoded.size - is maximal length of decoded data.IOExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.