G-code Preview — API Reference
    Preparing search index...

    Byte offsets of each line start (index 0 = line 1 at byte 0), plus the total length.

    interface SourceLineIndex {
        byteLength: number;
        lineStarts: Uint32Array;
    }
    Index

    Properties

    byteLength: number

    Total source length in bytes.

    lineStarts: Uint32Array

    lineStarts[k] is the byte offset where line k + 1 begins.