Class ASCII85InputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ASCII85Constants

    public class ASCII85InputStream
    extends InputStream
    implements ASCII85Constants
    This class applies a ASCII85 decoding to the stream.

    The class is derived from InputStream instead of FilteredInputStream because we can use the read(byte[], int, int) method from InputStream which simply delegates to read(). This makes the implementation easier.

    The filter is described in chapter 3.13.3 of the PostScript Language Reference (third edition).

    Version:
    $Id: ASCII85InputStream.java 1732018 2016-02-24 04:51:06Z gadams $