Binary Raw - Docs
    Preparing search index...

    Interface SidebarOptions

    Configuration options passed to mountSidebar.

    interface SidebarOptions {
        buffer: Uint8Array;
        onSectionClick?: (node: SectionNode) => void;
        onSectionHover?: (node: SectionNode | null) => void;
        showEntropy?: boolean;
        structure: ParsedStructure;
    }
    Index

    Properties

    buffer: Uint8Array

    Raw file bytes (used for entropy calculations).

    onSectionClick?: (node: SectionNode) => void

    Called when the user clicks a section row.

    onSectionHover?: (node: SectionNode | null) => void

    Called when the user hovers over a section row (or leaves it, passing null).

    showEntropy?: boolean

    When true, renders the entropy heatmap bar on each row.

    structure: ParsedStructure

    Parsed structure of the current file.