| Package | Description |
|---|---|
| be.atbash.util.codec |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
CodecSupport.toBytes(char[] chars,
String encoding)
Converts the specified character array into a byte array using the specified character encoding.
|
static byte[] |
CodecSupport.toBytes(String source,
String encoding)
Converts the specified source to a byte array via the specified encoding, throwing a
CodecException if the encoding fails. |
static char[] |
CodecSupport.toChars(byte[] bytes,
String encoding)
Converts the specified byte array to a character array using the specified character encoding.
|
static String |
CodecSupport.toString(byte[] bytes,
String encoding)
Converts the specified byte array to a String using the specified character encoding.
|
Copyright © 2014–2018. All rights reserved.