public static class BinaryToTextEncoding.Hex extends Object implements BinaryToTextEncoding.EncoderDecoder
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(CharSequence hexString)
Decodes given encoded string
|
String |
encode(byte[] byteArray,
ByteOrder byteOrder)
Encodes given array with given byte order to a string
|
public String encode(byte[] byteArray, ByteOrder byteOrder)
BinaryToTextEncoding.Encoderencode in interface BinaryToTextEncoding.EncoderbyteArray - to encodebyteOrder - the array is inpublic byte[] decode(CharSequence hexString)
BinaryToTextEncoding.Decoderdecode in interface BinaryToTextEncoding.DecoderhexString - stringCopyright © 2017–2021. All rights reserved.