rmapi-js
    Preparing search index...

    Interface TreeNodeBlock

    the 0x02 tree node block — a group's metadata (layer name/visibility)

    interface TreeNodeBlock {
        anchor?: TreeNodeAnchor;
        currentVersion: number;
        extraData: Uint8Array;
        label: LwwValue<string>;
        minVersion: number;
        nodeId: CrdtId;
        reserved: number;
        type: "treeNode";
        visible: LwwValue<boolean>;
    }

    Hierarchy

    • BlockCommon
      • TreeNodeBlock
    Index

    where the node is anchored, when it is

    currentVersion: number

    the block's current version (selects the point encoding for lines)

    extraData: Uint8Array

    the unread tail of the block, preserved for round-tripping

    label: LwwValue<string>

    the layer name

    minVersion: number

    the block's minimum reader version

    nodeId: CrdtId

    the node's crdt id

    reserved: number

    the header byte between the block length and the versions

    Zero in every well-formed file seen, but preserved rather than assumed.

    type: "treeNode"

    the block-type discriminant

    visible: LwwValue<boolean>

    whether the layer is visible