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: about 1 month 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T13:46:02.000Z (about 1 month ago)
- Last Synced: 2024-11-12T19:11:26.529Z (about 1 month ago)
- Topics: avalonia, binary, control, hex-editor, visualization
- Language: C#
- Homepage:
- Size: 1.41 MB
- Stars: 77
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-avalonia - AvaloniaHex - A hex editor control for Avalonia. (Libraries & Extensions / Controls)
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