This example will demonstrate the construction and use of the data conversion utility.
- application code must include header files:
- ../../utilities/utilities.h
- application compilation must include source code from the directories:
- ../../library
- ../../utilities
- application compilation must define macros:
The compiled example will execute the following cases. Run the application with no arguments for application usage.
- case 1: Display application information. (type names, type sizes and defined macros)
- case 2: Compare the conversion object results with the Linux iconv command-line application.
- case 3: Get the raw, 32-bit decoded data.
- case 4: Encode raw, 32-bit data.
- case 5: Add base64 encoding and decoding.