Skip navigation links
oracle.security.xmlsec.util
Class Base64.DecodeInputStream
java.lang.Object
java.io.InputStream
oracle.security.xmlsec.util.Base64.DecodeInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- Base64
-
public static class Base64.DecodeInputStream
- extends java.io.InputStream
Decodes a base64 Reader and returns that as in InputStream. Instead of decoding the whole string at once, it decodes it on demand to satisfy the bytes requested by read
Method Summary |
int |
read()
|
int |
read(byte[] b, int off, int len)
|
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64.DecodeInputStream
public Base64.DecodeInputStream(java.io.Reader rw)
- Constructor which takes a base 64 string
- Parameters:
b64String
-
read
public int read()
throws java.io.IOException
-
- Specified by:
read
in class java.io.InputStream
-
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
-
- Overrides:
read
in class java.io.InputStream
-
- Throws:
java.io.IOException
Skip navigation links
Copyright © 2005, 2013 , Oracle. All rights reserved.