gnu.crypto.pki.io
Class Base64InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
gnu.crypto.pki.io.Base64InputStream
- All Implemented Interfaces:
- Closeable
public class Base64InputStream
- extends FilterInputStream
A filter input stream that decodes data encoded in the Base-64
encoding scheme.
- Author:
- Casey Marshall (rsdio@metastatic.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64InputStream
public Base64InputStream(InputStream in)
- Create a new Base-64 input stream. The input bytes must be the
ASCII characters A-Z, a-z, 0-9, + and /, with optional whitespace,
and will be decoded into a byte stream.
- Parameters:
in
- The source of Base-64 input.
available
public int available()
- Overrides:
available
in class FilterInputStream
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] buf,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class FilterInputStream
mark
public void mark(int markLimit)
- Overrides:
mark
in class FilterInputStream
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 © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.