- All Implemented Interfaces:
IBase64
Base64 Proxy for Android.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
decode
public byte[] decode(String text)
Decode a string.
- Specified by:
decode
in interface IBase64
- Parameters:
text
- String to be converted.
- Returns:
- The bytes with the decoded data.
-
encode
public String encode(byte[] data)
Encode a string.
- Specified by:
encode
in interface IBase64
- Parameters:
data
- The byte array to be converted.
- Returns:
- The string with the text encoded