Binary Raw - Docs
    Preparing search index...

    Interface LoadedFile

    Represents a fully loaded file with its structure, state, and metadata.

    interface LoadedFile {
        dirty: boolean;
        handle: FileHandle;
        history: EditHistory;
        readOnly: boolean;
        selection: SelectionState;
        structure: ParsedStructure;
        viewport: { bytesPerRow: 16 | 32 | 64; visibleRange: ByteRange };
    }
    Index

    Properties

    dirty: boolean

    Whether the file has unsaved changes.

    handle: FileHandle

    The file handle for I/O operations.

    history: EditHistory

    Edit history for undo/redo.

    readOnly: boolean

    Whether the file is read-only.

    selection: SelectionState

    Current selection state.

    structure: ParsedStructure

    The parsed structure of the file.

    viewport: { bytesPerRow: 16 | 32 | 64; visibleRange: ByteRange }

    Viewport configuration and visible range.

    Type Declaration

    • ReadonlybytesPerRow: 16 | 32 | 64

      Number of bytes displayed per row.

    • ReadonlyvisibleRange: ByteRange

      The currently visible byte range.