Adds new print() method to ASN.1 types by leveraging asn1c's asn_fprint().
Defaults to stdout though the output stream can be specified. Specifying the output is done through a FILE*, since there is no straightforward way to convert between an std::ostream to a FILE*.
Can be regarded as an alternative to CAM's print_indented().
Adds new
print()
method to ASN.1 types by leveraging asn1c'sasn_fprint()
. Defaults tostdout
though the output stream can be specified. Specifying the output is done through aFILE*
, since there is no straightforward way to convert between anstd::ostream
to aFILE*
. Can be regarded as an alternative to CAM'sprint_indented()
.