IFClite TypeScript API
    Preparing search index...

    Function computeSourceFingerprint

    • Compute the SourceFingerprint for a source buffer. Touches at most 8 + 2*HEAD_TAIL_BYTES + INTERIOR_WINDOWS*INTERIOR_WINDOW_BYTES (~160KB) regardless of file size, so it is constant-time in the file length.

      Parameters

      • buffer: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns SourceFingerprint