Class COSFilterASCII85Decode

    • Constructor Detail

      • COSFilterASCII85Decode

        public COSFilterASCII85Decode​(ASInputStream stream)
                               throws IOException
        Constructor from encoded stream.
        Parameters:
        stream - is ASCII85 encoded stream.
        Throws:
        IOException
    • Method Detail

      • read

        public int read​(byte[] buffer,
                        int size)
                 throws IOException
        Reads up to size bytes of ASCII85 decoded data into buffer.
        Overrides:
        read in class ASBufferedInFilter
        Parameters:
        buffer - is byte array where decoded data will be read.
        size - is maximal amount of decoded bytes. It should be at least 4.
        Returns:
        amount of actually read bytes.
        Throws:
        IOException