org.infozone.tools
Class MimeBase64Decoder
java.lang.Object
|
+--org.infozone.tools.MimeBase64Decoder
- public final class MimeBase64Decoder
- extends java.lang.Object
Base 64 text to byte decoded. To produce the binary array from
base 64 encoding call translate(char[])
for each sequence of
characters and getByteArray()
to mark closure of the
character stream and retrieve the binary contents.
- Author:
- Based on code from the Mozilla Directory SDK
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeBase64Decoder
public MimeBase64Decoder()
translate
public final void translate(char[] ch)
translate
public final void translate(char[] ch,
int offset,
int length)
getByteArray
public byte[] getByteArray()