@eagleoutice/flowr - v2.17.16
    Preparing search index...

    A dictionary's names by id. Ids are positions, so SigDict.at is what strings[id] used to be.

    Implements

    • Iterable<string>
    Index
    Groups: number = ...

    how many groups SigDict.groupOf tells apart

    • The group a name spelled bytes in utf8 would be in, so a lookup only compares the names that could match it.

      Parameters

      • bytes: Uint8Array

      Returns number

    • The dictionary a bundle's d lines spell out, each ["d", start, "name\nname..."] (or the legacy ["d", start, [names]]). The names are unescaped from the line's bytes straight into the dictionary, as parsing every line into a string only to encode it back took most of the time opening a database costs. The runs must cover the ids from 0 without a gap.

      Parameters

      • lines: Buffer

      Returns SigDict

    • The name with the given id, '' for an id the dictionary does not hold.

      Parameters

      • id: number

      Returns string

    • Whether the name with the given id is spelled bytes in utf8, without building the name to compare it.

      Parameters

      • id: number
      • bytes: Uint8Array

      Returns boolean