org.opensha.commons.mapping.gmt.raster
Class ASCII85InputStream
java.lang.Object
java.io.InputStream
org.opensha.commons.mapping.gmt.raster.ASCII85InputStream
- All Implemented Interfaces:
- Closeable
public class ASCII85InputStream
- extends InputStream
The ASCII85InputStream decodes ASCII base-85 encoded data.
The exact definition of ASCII base-85 encoding can be found
in the PostScript Language Reference (3rd ed.) chapter 3.13.3.
IMPORTANT: inherits from InputStream rather than FilterInputStream
so that the correct read(byte[], int, int) method is used.
- Version:
- $Id: ASCII85InputStream.java 5941 2009-10-12 20:38:15Z pmpowers $
- Author:
- Mark Donszelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_CHARS_PER_LINE
public static final int MAX_CHARS_PER_LINE
- See Also:
- Constant Field Values
a85p1
public static long a85p1
a85p2
public static long a85p2
a85p3
public static long a85p3
a85p4
public static long a85p4
ASCII85InputStream
public ASCII85InputStream(InputStream input)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
isEndReached
public boolean isEndReached()
getLineNo
public int getLineNo()