CdmNode.length

size_t length() const pure nothrow @nogc @safe

Returns the length of this node's content.

For STRING and BINARY: the data length. For ARRAY and TAG: the number of children. For OBJECT: the number of members. For all other types: 0.

Returns

The element count or data length.