| |
|
| java.lang.Object org.continuent.sequoia.common.stream.encoding.HexaEncoding
HexaEncoding | public class HexaEncoding (Code) | | This class implements Hexa encoding and decoding
author: Nicolas Modrzyk version: 1.0 |
data2hex | final public static String data2hex(byte[] data)(Code) | | Convert data into hexa
Parameters: data - to convert the converted string |
hex2data | final public static byte[] hex2data(String str)(Code) | | convert hexa into data
Parameters: str - to convert the converted byte array |
toDataNibble | public static byte toDataNibble(char c)(Code) | | convert hexa char to byte value
Parameters: c - hexa character corresponding byte value |
toHexChar | public static char toHexChar(int i)(Code) | | convert value to hexa value
Parameters: i - byte to convert hexa char |
|
|
|