public class Base64 extends Object
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(CharSequence cs)
Decodes BASE64 to bytes.
|
static String |
encode(byte[] data)
Encodes bytes to BASE64.
|
public static String encode(byte[] data)
data
- input bytes datapublic static byte[] decode(CharSequence cs)
cs
- BASE64.Copyright © 2014. All rights reserved.