org.apache.xmlgraphics.util.io
public class Base64DecodeStream extends InputStream
byte data[];
InputStream is = new ByteArrayInputStream(data);
is = new Base64DecodeStream(is);
On errors, this class throws a IOException with the following detail
strings:
"Base64DecodeStream: Bad Padding byte (2)."
"Base64DecodeStream: Bad Padding byte (1)."
| Constructor and Description |
|---|
Base64DecodeStream(InputStream src) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] out,
int offset,
int len) |
mark, read, reset, skippublic Base64DecodeStream(InputStream src)
public boolean markSupported()
markSupported in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] out,
int offset,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright 1999-2014 The Apache Software Foundation. All Rights Reserved.