Expand description
In-memory document conversions between DcMstring and supported document formats.
Structs§
- DcConversion
Options - Options controlling conversion to
DcMstring. - DcConversion
Result - Result of a format conversion including the parsed
DcMstring, detected format, and accumulated diagnostic log. - DcExport
Options - Options controlling conversion from
DcMstringto other document formats. - DcExport
Result - Result of an export conversion from
DcMstringto output format bytes.
Enums§
- DcNormalization
Mode - Policy for normalizing Document Characters and Unicode during conversion.
- Format
Spec - Specification for input format: explicit format or automatic detection.
Functions§
- convert_
bytes_ to_ dcmstring - Converts in-memory bytes with an optional filename hint to a
DcMstring. - convert_
cscjournal_ to_ dcmstring - Converts any in-memory cscjournal bytes (legacy or v4+) to a
DcMstringdocument. - convert_
dcmstring_ to_ bytes - Converts a
DcMstringdocument to serialized bytes in the specified output format. - convert_
dcmstring_ to_ file - Exports a
DcMstringto a file on disk (or ‘-’ for stdout). - convert_
file_ to_ dcmstring - Converts a file on disk (or ‘-’ for stdin) to a
DcMstring. - format_
supported_ input_ formats_ table - Formats the categorized list of supported input document formats for error and help messages.
- format_
supported_ output_ formats_ table - Formats the categorized list of supported output document formats for error and help messages.
- format_
supported_ transformations_ table - Formats the categorized list of supported document transformations for error and help messages.