mimekit-ts - v1.0.0
    Preparing search index...

    Function enumerateReferences

    • Enumerate Message-Id references such as those found in In-Reply-To or References headers.

      Incrementally parses msg-id tokens from the supplied text or byte buffer.

      Parameters

      • input: string | Uint8Array<ArrayBufferLike> | null | undefined

        Text or bytes to parse.

      • startIndex: number = 0

        Index into the buffer to start parsing.

      • Optionallength: number

        Number of bytes or characters to parse.

      Returns IterableIterator<string>

      An iterator over parsed message identifiers.

      input is null or undefined.

      startIndex or length is outside the input.