Trilium Frontend API
    Preparing search index...

    Class TreeBuffer

    Tree buffers contain (type, start, end, endIndex) quads for each node. In such a buffer, nodes are stored in prefix order (parents before children, with the endIndex of the parent indicating which children belong to it).

    Index

    Constructors

    Properties

    Constructors

    • Create a tree buffer.

      Parameters

      • buffer: Uint16Array

        The buffer's content.

      • length: number

        The total length of the group of nodes in the buffer.

      • set: NodeSet

        The node set used in this buffer.

      Returns TreeBuffer

    Properties

    buffer: Uint16Array

    The buffer's content.

    length: number

    The total length of the group of nodes in the buffer.

    set: NodeSet

    The node set used in this buffer.