/// <summary> /// Replace the a node in the subnodes with a new binary version /// </summary> /// <param name="oldNode">The old node to replace</param> /// <param name="newNode">The new node as a binary string</param> /// <returns>The new data value</returns> internal DataValue ReplaceNode(DataNode oldNode, string newNode) { return(ReplaceNode(oldNode, GeneralUtils.MakeByteArray(newNode))); }