public class Base64InputStream extends FilterInputStream
Base64InputStream
will read data from another
InputStream, given in the constructor, and encode
to Base64 notation on the fly.Base64
in
Constructor and Description |
---|
Base64InputStream(InputStream in,
int options)
An InputStream that performs Base64 decoding on the data read from the wrapped stream.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] dest,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
read
public Base64InputStream(InputStream in, int options)
in
- the InputStream to read the source data fromoptions
- bit flags for controlling the decoder; see the constants in Base64public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] dest, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public void mark(int readlimit)
mark
in class FilterInputStream
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public void reset() throws IOException
reset
in class FilterInputStream
IOException
Copyright © 2018. All rights reserved.