org.apache.batik.util
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 Summary | |
---|---|
Base64DecodeStream(InputStream src) |
Method Summary | |
---|---|
int | available() |
void | close() |
boolean | markSupported() |
int | read() |
int | read(byte[] out, int offset, int len) |