gnu.crypto.pki.io

Class Base64InputStream

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)

Constructor Summary
Base64InputStream(InputStream in)
Create a new Base-64 input stream.
Method Summary
intavailable()
voidmark(int markLimit)
booleanmarkSupported()
intread()
intread(byte[] buf, int off, int len)
voidreset()
longskip(long n)

Constructor Detail

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.

Method Detail

available

public int available()

mark

public void mark(int markLimit)

markSupported

public boolean markSupported()

read

public int read()

read

public int read(byte[] buf, int off, int len)

reset

public void reset()

skip

public long skip(long n)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.