public interface Base64Codec
A codec for encoding and decoding objects using the Base64 encoding scheme.
-
Method Summary
-
Method Details
-
encode
Returns a Base64-encoded representation of an object.- Parameters:
obj
- an object.- Returns:
- a Base64-encoded representation of an object
-
decode
Returns an object decoded from a Base64-encoded representation.- Parameters:
str
- a Base-64 encoded representation of an object.- Returns:
- an object decoded from a Base64-encoded representation
-