The end position of the next node.
The node ID of the next node in the buffer.
The current buffer position (four times the number of nodes remaining).
The size of the next node (the number of nodes inside, counting the node itself, times 4).
The start position of the next node in the buffer.
Create a copy of this cursor.
Moves this.pos down by 4.
This is used by
Tree.buildas an abstraction for iterating over a tree buffer. A cursor initially points at the very last element in the buffer. Every timenext()is called it moves on to the previous one.