Loading TOC...

NodeBuilder.addBinary

NodeBuilder.addBinary(
   $hex as String
) as This NodeBuilder object

Summary

Add a binary node to the node tree the builder is building.

Parameters
$hex The contents of the binary node as a hex-encoded string.

Usage Notes

Binary nodes may only be added to the root of the tree.

Example

var builder = new NodeBuilder();
builder.addBinary("616263"); // "abc"
builder.toNode();

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy