public static class BinaryToTextEncoding.BaseRadix extends Object implements BinaryToTextEncoding.EncoderDecoder
BigInteger.toString(int)
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(String encoded)
Decodes given encoded string
|
String |
encode(byte[] array,
ByteOrder byteOrder)
Encodes given array with given byte order to a string
|
public String encode(byte[] array, ByteOrder byteOrder)
BinaryToTextEncoding.Encoder
encode
in interface BinaryToTextEncoding.Encoder
array
- to encodebyteOrder
- the array is inpublic byte[] decode(String encoded)
BinaryToTextEncoding.Decoder
decode
in interface BinaryToTextEncoding.Decoder
encoded
- stringCopyright © 2017–2018. All rights reserved.