public class UnbufferedBase64InputStream extends FilterInputStream
This is slower implementation, but it won't consume unnecessary bytes from the underlying InputStream,
allowing the reader to switch between the unencoded bytes and base64 bytes.
in| Constructor and Description |
|---|
UnbufferedBase64InputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
available, close, mark, markSupported, read, resetpublic UnbufferedBase64InputStream(InputStream in)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionCopyright © 2019. All rights reserved.