Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Washi1337/AvaloniaHex

A hex editor control for Avalonia.
https://github.com/Washi1337/AvaloniaHex

avalonia binary control hex-editor visualization

Last synced: about 1 month ago
JSON representation

A hex editor control for Avalonia.

Awesome Lists containing this project

README

        

# AvaloniaHex

This is a(n experimental) hex editor control for the [Avalonia](https://github.com/AvaloniaUI/Avalonia) UI framework.

![](assets/demo.gif)

## Features

- Display binary data in hex, binary and ASCII.
- Adjust the displayed bytes per line manually or automatically.
- Modify binary documents in-place.
- Specify invalid or inaccessible ranges. Useful for documents with "gaps" (e.g., memory views).
- Many style customization options available with default Light and Dark themes.
- Custom byte ranges highlighting.
- Support for memory mapped files.

## Binaries

- Stable: [NuGet](https://www.nuget.org/packages/AvaloniaHex)
- Nightly: [AppVeyor](https://ci.appveyor.com/project/Washi1337/avaloniahex/build/artifacts)

## Quick Start Guide

After installing the `AvaloniaHex` dependency, add the default control styles to your `App.axaml`:

```xml


...

```

Then, add the `HexEditor` control to your window:

```xml









```

To display a file in the control, assign the `Document` property:

```csharp
HexEditor editor = ...;

editor.Document = new MemoryBinaryDocument(File.ReadAllBytes(@"C:\Path\To\File.bin"));
```

See [examples](examples) for more details.

## License

MIT