Package com.nomagic.magicreport.helper
Class Base64
java.lang.Object
com.nomagic.magicreport.helper.Base64
This Base64 class provides applications the functionality of a encoder and decoder operations with Base64
algorithm.
- Since:
- Mar 23, 2002
- See Also:
-
Method Summary
-
Method Details
-
encode
Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet.- Parameters:
a- a byte array containing binary data- Returns:
- A String containing only Base64 character data
-
decode
Decodes a String containing characters in the Base64 alphabet into binary data.- Parameters:
s- String containing only Base64 character data- Returns:
- a byte array containing binary data
-