Non-destructive byte operations

Binary Editing & Search

Edit bytes efficiently while preserving the original file and a reversible history.

Explore source
Parent systemHexView
StatusMaintained
Modules1
RepositoryHexView/Model

A piece-table-inspired byte overlay tracks overwrite, insert, and delete operations over the original source, while an edit journal, selection services, wildcard search, replace, save, and patch export form a complete editing lane.

  1. 01

    Overwrite, insert, and delete overlay

  2. 02

    Unlimited undo/redo and batches

  3. 03

    Hex, wildcard, and text search/replace

  4. 04

    Save As and portable patch export

From intent
to working system.

01

Overlay

Edits reference the immutable source plus inserted and replaced ranges.

02

Journal

Operations become reversible single or batch history entries.

03

Search

Pattern, wildcard, text, and replacement services operate across the virtual data.

04

Save

The merged view writes a new file or a compact patch description.

Adopt this
capability.

Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.

01 · Install
Terminal
dotnet add package HexView
02 · Use · csharp
QuickStart.cs
var source = new MemoryMappedLineReader("firmware.bin");
var overlay = new ByteOverlay(source) { Journal = new EditJournal() };
overlay.OverwriteByte(0x100, 0xFF);
overlay.InsertBytes(0x200, new byte[] { 0xDE, 0xAD });
await new SaveService().SaveAs(overlay, "patched.bin");

Use one layer.
Compose the rest.

Read the module beside the complete system.

The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.

HexView

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…