public class Codecs extends Object
| Constructor and Description |
|---|
Codecs() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
b64Decode(byte[] bytes) |
static byte[] |
b64Encode(byte[] bytes)
Base 64
|
static byte[] |
b64UrlDecode(byte[] bytes) |
static byte[] |
b64UrlDecode(CharSequence value) |
static byte[] |
b64UrlEncode(byte[] bytes) |
static byte[] |
b64UrlEncode(CharSequence value) |
static byte[] |
concat(byte[]... arrays) |
static byte[] |
hexDecode(CharSequence s) |
static char[] |
hexEncode(byte[] bytes) |
static String |
utf8Decode(byte[] bytes) |
static String |
utf8Decode(ByteBuffer bytes) |
static byte[] |
utf8Encode(CharSequence string)
UTF-8 encoding/decoding.
|
public static byte[] b64Encode(byte[] bytes)
public static byte[] b64Decode(byte[] bytes)
public static byte[] b64UrlEncode(byte[] bytes)
public static byte[] b64UrlEncode(CharSequence value)
public static byte[] b64UrlDecode(byte[] bytes)
public static byte[] b64UrlDecode(CharSequence value)
public static byte[] utf8Encode(CharSequence string)
public static String utf8Decode(byte[] bytes)
public static String utf8Decode(ByteBuffer bytes)
public static char[] hexEncode(byte[] bytes)
public static byte[] hexDecode(CharSequence s)
public static byte[] concat(byte[]... arrays)
Copyright © 2017 SpringSource. All rights reserved.