Example: lrc_BSTR1

In the following example lrc_BSTR1 creates a BSTR type string and then prints it to standard output. The complete string, including the nulls, will be sent to output.

BSTR str= lrc_BSTR1("abc\x00def\x00\x00ghi", 12);
lrc_print_bstr(str);