Package org.apache.xerces.impl.dv.util
Class HexBin
java.lang.Object
org.apache.xerces.impl.dv.util.HexBin
format validation
This class encodes/decodes hexadecimal data
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: HexBin.java 446747 2006-09-15 21:46:20Z mrglavas $
- Author:
- Jeffrey Rodriguez
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HexBin
public HexBin()
-
-
Method Details
-
encode
Encode a byte array to hex string- Parameters:
binaryData
- array of byte to encode- Returns:
- return encoded string
-
decode
Decode hex string to a byte array- Parameters:
encoded
- encoded string- Returns:
- return array of byte to encode
-