public class Base64 extends Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String s)
Translates the specified Base64 string into a byte array.
|
static String |
encode(byte[] buf)
Translates the specified byte array into Base64 string.
|
public static byte[] decode(String s)
s - the Base64 string (not null)public static String encode(byte[] buf)
buf - the byte array (not null)Copyright © 2006–2020 Tigase. All rights reserved.