Package heasarc.db.votable
Class Base64
java.lang.Object
heasarc.db.votable.Base64
This class decodes a Base64 encoded string.
Taken from Xamin colde.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Build up the string that will be decoded.Return an InputStream to the decoded datastatic void
byte[]
Translate the encoded stream to a byte array
-
Constructor Details
-
Base64
public Base64()
-
-
Method Details
-
append
Build up the string that will be decoded. -
getAsStream
Return an InputStream to the decoded data -
translate
public byte[] translate()Translate the encoded stream to a byte array -
main
- Throws:
Exception
-