drupflare/worker - v1.0.4
    Preparing search index...

    Function readPktLines

    • reads pkt-lines from start until a stop, returning where the framing ended

      Parameters

      • src: Uint8Array
      • start: number = 0
      • Optionalstop: (line: PktLine) => boolean

      Returns { end: number; lines: PktLine[] }