Clears the inspector (no active selection).
Tears down the component and releases DOM resources.
Replaces the internal buffer reference (after an edit or a new file load).
The new buffer.
Updates the inspector to show the byte at offset (single-byte view).
Called by hex-view.ts on every cursor move.
Absolute offset of the cursor.
Updates the inspector to show metadata for a sidebar section. Called when the user clicks a section node.
The clicked section node.
Updates the inspector to reflect the active selection.
Called from onSelectionChange in editor.ts.
Current selection state.
Handle returned by mountInspector for external updates and cleanup.