Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/washi1337/avaloniahex
A hex editor control for Avalonia.
https://github.com/washi1337/avaloniahex
avalonia binary control hex-editor visualization
Last synced: 1 day ago
JSON representation
A hex editor control for Avalonia.
- Host: GitHub
- URL: https://github.com/washi1337/avaloniahex
- Owner: Washi1337
- License: mit
- Created: 2024-03-13T23:44:33.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T15:53:56.000Z (24 days ago)
- Last Synced: 2025-01-07T16:07:40.759Z (1 day ago)
- Topics: avalonia, binary, control, hex-editor, visualization
- Language: C#
- Homepage:
- Size: 1.46 MB
- Stars: 83
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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