public class HexCoDec
extends java.lang.Object
Constructor and Description |
---|
HexCoDec() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(char[] hexChars)
Decode an array of hex chars
|
static byte[] |
decode(char[] hexChars,
int startIndex,
int length)
Decode an array of hex chars.
|
static byte[] |
decode(java.lang.String hexValue)
Decode a hex string
|
static char[] |
encode(byte[] bites)
Hex encode an array of bytes
|
static char[] |
encode(byte[] bites,
int startIndex,
int length)
Hex encode an array of bytes
|
public static byte[] decode(java.lang.String hexValue)
hexValue
- the string of hex characterspublic static byte[] decode(char[] hexChars)
hexChars
- an array of hex characters.public static byte[] decode(char[] hexChars, int startIndex, int length)
hexChars
- an array of hex characters.startIndex
- the index of the first character to decodelength
- the number of characters to decode.public static char[] encode(byte[] bites)
bites
- the array of bytes to encode.public static char[] encode(byte[] bites, int startIndex, int length)
bites
- the array of bytes to encode.startIndex
- the index of the first character to encode.length
- the number of characters to encode.Copyright © 2010 - 2020 Adobe. All Rights Reserved