public final class Base64Utils extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] bytes)
Decodes the given base 64 encoded bytes.
|
static byte[] |
decode(String string)
Decodes the given base 64 encoded string.
|
static byte[] |
encode(byte[] bytes)
Returns a 64 encoded byte array of the given bytes.
|
static String |
encodeAsString(byte... bytes)
Returns a base 64 encoded string of the given bytes.
|
public static String encodeAsString(byte... bytes)
public static byte[] encode(byte[] bytes)
public static byte[] decode(String string)
public static byte[] decode(byte[] bytes)
Copyright © 2018. All rights reserved.