Static Public Member Functions | |
static int | getDataLength (const XMLCh *const hexData) |
return the length of hexData in terms of HexBinary. | |
static bool | isArrayByteHex (const XMLCh *const hexData) |
check an array of data against the Hex table. | |
static XMLCh * | getCanonicalRepresentation (const XMLCh *const hexData, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
get canonical representation | |
static XMLByte * | decodeToXMLByte (const XMLCh *const hexData, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
Decodes HexBinary data into XMLByte. |
static int HexBin::getDataLength | ( | const XMLCh *const | hexData | ) | [static] |
return the length of hexData in terms of HexBinary.
hexData | A string containing the HexBinary |
static bool HexBin::isArrayByteHex | ( | const XMLCh *const | hexData | ) | [static] |
check an array of data against the Hex table.
hexData | A string containing the HexBinary |
static XMLCh* HexBin::getCanonicalRepresentation | ( | const XMLCh *const | hexData, | |
MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | |||
) | [static] |
get canonical representation
Caller is responsible for the proper deallocation of the string returned.
hexData | A string containing the HexBinary | |
manager | The MemoryManager to use to allocate the string |
static XMLByte* HexBin::decodeToXMLByte | ( | const XMLCh *const | hexData, | |
MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | |||
) | [static] |
Decodes HexBinary data into XMLByte.
NOTE: The returned buffer is dynamically allocated and is the responsibility of the caller to delete it when not longer needed. Use the memory manager to release the returned buffer.
hexData | HexBinary data in XMLCh stream. | |
manager | client provided memory manager |