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, reset
public UnbufferedBase64InputStream(InputStream in)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
Copyright © 2019. All rights reserved.