Package | Description |
---|---|
org.miloss.fgsms.common.codec |
Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Hex.decode(byte[] array)
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
|
byte[] |
BinaryDecoder.decode(byte[] source)
Decodes a byte array and returns the results as a byte array.
|
byte[] |
Hex.decode(ByteBuffer buffer)
Converts a buffer of character bytes representing hexadecimal values into an array of bytes of those same values.
|
Object |
Hex.decode(Object object)
Converts a String or an array of character bytes representing hexadecimal values into an array of bytes of those
same values.
|
Object |
Decoder.decode(Object source)
Decodes an "encoded" Object and returns a "decoded" Object.
|
Object |
BinaryCodec.decode(Object ascii)
Decodes a byte array where each byte represents an ASCII '0' or '1'.
|
Object |
BaseNCodec.decode(Object obj)
Decodes an Object using the Base-N algorithm.
|
String |
StringDecoder.decode(String source)
Decodes a String and returns a String.
|
static byte[] |
Hex.decodeHex(char[] data)
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
|
static byte[] |
Hex.decodeHex(String data)
Converts a String representing hexadecimal values into an array of bytes of those same values.
|
protected static int |
Hex.toDigit(char ch,
int index)
Converts a hexadecimal character to an integer.
|
Copyright © 2008–2017 MIL-OSS. All rights reserved.