company logo

Binary :: fromBase64 - Convert base 64 character string data to binary

The function converts a base 64 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  :: fromBase64 ( odaba::String &sBase64 )

The function interprets the incoming data as base 64 (6 bit) decoded binary data and fills the binary data block with the converted data. When the binary data block does already contain data, this will be deleted before decoding.

  • sBase64 - Base 64 string

    The string contains binary data represented as 6-bit characters (base 64).