c0data
    Preparing search index...

    Function scanText

    • Skip a text (STX … ETX) starting at the STX at pos. Returns the position after the ETX. Throws on an unclosed text, a bad escape, a nested STX, or framing inside the text.

      Parameters

      • buf: Uint8Array
      • pos: number
      • stop: number = buf.length

      Returns number