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, skip
public Base64DecodeStream(InputStream src)
public boolean markSupported()
markSupported
in class InputStream
public void close() throws IOException
close
in interface Closeable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] out, int offset, int len) throws IOException
read
in class InputStream
IOException
Copyright 1999-2014 The Apache Software Foundation. All Rights Reserved.