@tikoci/centrs
    Preparing search index...

    Function positionToByte

    • Map an original (line, col) position to an analyzed byte offset. col may equal the line's UTF-16 length (the position just past the last character / at the newline). Throws if the position addresses no boundary.

      Parameters

      Returns number