company logo

Binary :: fromBase16 - Convert base 16 character string data to binary

The function converts a base 16 character string into binary data,

Return value:  Binary data block handle ( odaba::Binary & )

Constant reference to a binary data block handle, which may contain binary data up to 2 GB.

Implementation details

odaba::Binary & Binary  :: fromBase16 ( odaba::String &sBase16 )

The function interprets the incoming data as base 16 (hexadecimal) decoded binary data and fills the binary data block with the converted data. When the binary data block already contains data, this will be deleted before decoding.

  • sBase16 - Hexadecimal (base 16) string

    The string contains hexadecimal characters, i.e. 0-9 and A-F (or a-f).