Binary Raw - Docs
    Preparing search index...

    Handle returned by mountStatusBar for external updates and cleanup.

    interface StatusBarHandle {
        clearCursor(): void;
        destroy(): void;
        setCursor(offset: AbsoluteOffset, byteValue: number): void;
        setSelection(sel: SelectionState, buffer: Uint8Array): void;
    }
    Index

    Methods

    • Updates the cursor offset and the byte value at that position. Called by hex-view.ts on every mouse/keyboard move.

      Parameters

      • offset: AbsoluteOffset

        The absolute offset of the cursor.

      • byteValue: number

        The raw byte value at that offset.

      Returns void

    • Updates the active selection display. Called from onSelectionChange in editor.ts.

      Parameters

      • sel: SelectionState

        Current selection state.

      • buffer: Uint8Array

        The full file buffer (used for the hex preview).

      Returns void