org.metastatic.jessie.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

int
available()
void
mark(int markLimit)
boolean
markSupported()
int
read()
int
read(byte[] buf, int off, int len)
void
reset()
long
skip(long n)

Constructor Details

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 Details

available

public int available()

mark

public void mark(int markLimit)

markSupported

public boolean markSupported()

read

public int read()
            throws IOException

read

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

reset

public void reset()
            throws IOException

skip

public long skip(long n)
            throws IOException