/** * Encode and write a {@link Node} to the {@link ObjectFile}. Returns the location, * suitable for use with {@link #fetchDecode}. */ public static long encodeStore(Node node, ObjectFile file) { return encodeStore(node, file, null); }
private final NodeId writeNodeToTable(Node node) { syncNeeded = true ; long x = NodeLib.encodeStore(node, getObjects(), writeBuffer) ; return NodeId.create(x); }