public class Base64DecodingInputStream extends FilterInputStream
in| Constructor and Description |
|---|
Base64DecodingInputStream(InputStream inputStream)
Construct a base-64 decoding input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Return bytes available for reading or skipping without blocking.
|
void |
close()
Close this stream.
|
int |
read()
Read the next byte.
|
int |
read(byte[] b,
int offset,
int length)
Read a bunch of bytes.
|
long |
skip(long n)
Skip bytes.
|
mark, markSupported, read, resetpublic Base64DecodingInputStream(InputStream inputStream)
inputStream - The input stream to decode.public int read()
throws IOException
read in class FilterInputStreamIOException - If an I/O error occurs.public int read(byte[] b,
int offset,
int length)
throws IOException
read in class FilterInputStreamb - The buffer to fill with decoded base-64 data.offset - Where in the buffer to start filling.length - How many bytes to fill.IOException - If an I/O error occurs.public long skip(long n)
throws IOException
skip in class FilterInputStreamn - Number of bytes to skip.IOException - If an I/O error occurs.public int available()
throws IOException
available in class FilterInputStreamIOException - If an I/O error occurs.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException - If an I/O error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.