Binary Raw - Docs
    Preparing search index...

    Function hasBomAt

    • Returns true if byte array starts with the given BOM sequence. Safe with noUncheckedIndexedAccess — compares byte by byte with guard.

      Parameters

      • bytes: Uint8Array
      • bom: readonly number[]

      Returns boolean