public class Base64 extends Object
Utility class to perform base64 encoding/decoding.
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(String input)
Decode a Base64 encoded string
|
static String |
encode(byte[] input)
Base64 encode a textual string according to RFC 3548
|
public static String encode(byte[] input)
Base64 encode a textual string according to RFC 3548
input
- The string to encodepublic static byte[] decode(String input)
Decode a Base64 encoded string
input
- The string to decodeCopyright © 2018 Couchbase, Inc.. All rights reserved.