de.intarsys.pdf.filter
Class ASCIIHexInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
de.intarsys.pdf.filter.ASCIIHexInputStream
- All Implemented Interfaces:
- Closeable
public class ASCIIHexInputStream
- extends FilterInputStream
Input stream to decode binary data encoded in ascii representable byte codes.
The algorithm produces one byte of data from two ascii hex characters
ASCIIHexInputStream
public ASCIIHexInputStream(InputStream in)
isWhitespace
public static boolean isWhitespace(int i)
available
public int available()
throws IOException
- Overrides:
available
in class FilterInputStream
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class FilterInputStream
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset
in class FilterInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip
in class FilterInputStream
- Throws:
IOException
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.