The following options are available for generating code to print the contents of variables of generated types:
-print - This is the standard print option that causes print functions to be generated that output data to the standard output device (stdout).
-genPrtToStr - This option causes print functions to be generated that write their output to a memory buffer.
-genPrtToStrm - This option causes print functions to be generated that write their output to an output stream via a user-defined print callback function.