@tikoci/centrs
    Preparing search index...

    Function byteToPosition

    • Map an analyzed byte offset to an original (line, col) position. A byte landing INSIDE a multi-byte char snaps to that char's boundary (V6). byte === analyzed.length is the end-of-input cursor and maps to the position just past the last character.

      Parameters

      Returns Position