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

    Function isSentinel

    • Check whether a byte matches one of the sentinel bytes.

      Parameters

      • c: number

        Byte to test.

      • sentinels: Uint8Array

        Sentinel bytes.

      Returns boolean

      true if c is present in sentinels.