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)."
构造器和说明 |
---|
Base64DecodeStream(InputStream src) |
public Base64DecodeStream(InputStream src)
public boolean markSupported()
markSupported
在类中 InputStream
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public int available() throws IOException
available
在类中 InputStream
IOException
public int read() throws IOException
read
在类中 InputStream
IOException
public int read(byte[] out, int offset, int len) throws IOException
read
在类中 InputStream
IOException
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.