format validation This class encodes/decodes hexadecimal data
More...
|
static String | bytesToString (byte[] binaryData) |
| Converts bytes to a hex string.
|
|
static String | bytesToString (byte[] binaryData, String separator) |
| Converts bytes to a hex string with separator (e.g.
|
|
static byte[] | stringToBytes (String hexEncoded) |
| Converts a hex string to a byte array.
|
|
static byte[] | stringToBytes (String hexEncoded, String separator) |
| Converts a hex string to a byte array.
|
|
static byte[] | encode (byte[] binaryData) |
| array of byte to encode
|
|
static byte[] | decode (byte[] binaryData) |
|
static String | decode (String binaryData) |
| Decodes Hex data into octects.
|
|
static String | encode (String binaryData) |
| Encodes octects (using utf-8) into Hex data.
|
|
format validation
This class encodes/decodes hexadecimal data
- Author
- Jeffrey Rodriguez
- Version
- Id
- HexBin.java 125124 2005-01-14 00:23:54Z kkrouse
◆ bytesToString()
static String org.seamless.util.io.HexBin.bytesToString |
( |
byte[] |
binaryData, |
|
|
String |
separator |
|
) |
| |
|
static |
Converts bytes to a hex string with separator (e.g.
colon)
◆ decode()
static String org.seamless.util.io.HexBin.decode |
( |
String |
binaryData | ) |
|
|
static |
Decodes Hex data into octects.
- Parameters
-
binaryData | String containing Hex data |
- Returns
- string containing decoded data.
◆ encode() [1/2]
static byte[] org.seamless.util.io.HexBin.encode |
( |
byte[] |
binaryData | ) |
|
|
static |
◆ encode() [2/2]
static String org.seamless.util.io.HexBin.encode |
( |
String |
binaryData | ) |
|
|
static |
Encodes octects (using utf-8) into Hex data.
- Parameters
-
binaryData | String containing Hex data |
- Returns
- string containing decoded data.
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/org/seamless/util/io/HexBin.java