CdmBuilder.endDocument

CdmDocument endDocument() pure @safe

Completes the document and returns it.

The root node is set to the current value (typically the top-level object). After this call, the builder is reset.

Returns

The completed CdmDocument.