@gmitch215/folio - v1.0.1
    Preparing search index...

    Function findInImage

    • Every offset at which a needle's bytes occur in the image pages, ascending per needle. A match may span adjacent image pages and never spans a gap, so a needle straddling a delta page and an unchanged page is not found. Overlapping matches are all reported. A baked image is public, so this is how to prove a secret is not in it: pass the secret as bytes, and its base64 and hex forms as further needles.

      Parameters

      • image: MemoryImage
      • needles: Uint8Array<ArrayBufferLike>[]

      Returns ImageMatch[]