Binary Raw - Docs
    Preparing search index...

    Function rankSectionsByEntropy

    • Calculates entropy of multiple sections and returns them sorted from highest to lowest entropy.

      Parameters

      • buffer: Uint8Array

        Complete buffer

      • sections: readonly { name: string; range: ByteRange }[]

        Array of ranges to analyze

      • useCache: boolean = false

        If true, uses internal cache

      Returns RankedSection[]