AvaloniaHex 0.1.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AvaloniaHex --version 0.1.5
NuGet\Install-Package AvaloniaHex -Version 0.1.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AvaloniaHex" Version="0.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvaloniaHex --version 0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AvaloniaHex, 0.1.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AvaloniaHex as a Cake Addin #addin nuget:?package=AvaloniaHex&version=0.1.5 // Install AvaloniaHex as a Cake Tool #tool nuget:?package=AvaloniaHex&version=0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AvaloniaHex
This is a(n experimental) hex editor control for the Avalonia UI framework.
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
Quick Start Guide
After installing the AvaloniaHex
dependency, add the default control styles to your App.axaml
:
<Application xmlns="https://github.com/avaloniaui" ... >
<Application.Styles>
...
<StyleInclude Source="avares://AvaloniaHex/Themes/Simple/AvaloniaHex.axaml"/>
</Application.Styles>
</Application>
Then, add the HexEditor
control to your window:
<Window
xmlns:avaloniaHex="clr-namespace:AvaloniaHex;assembly=AvaloniaHex"
xmlns:rendering="clr-namespace:AvaloniaHex.Rendering;assembly=AvaloniaHex"
...>
<avaloniaHex:HexEditor FontFamily="Cascadia Code,JetBrains Mono,Monospace,monospace">
<avaloniaHex:HexEditor.Columns>
<rendering:OffsetColumn />
<rendering:HexColumn />
<rendering:AsciiColumn />
</avaloniaHex:HexEditor.Columns>
</avaloniaHex:HexEditor>
</Window>
To display a file in the control, assign the Document
property:
HexEditor editor = ...;
editor.Document = new MemoryBinaryDocument(File.ReadAllBytes(@"C:\Path\To\File.bin"));
See examples for more details.
License
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AvaloniaHex:
Package | Downloads |
---|---|
Spice86
Reverse engineer and rewrite real mode DOS programs |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on AvaloniaHex:
Repository | Stars |
---|---|
timschneeb/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows, macOS, Linux, and Android
|
|
OpenRakis/Spice86
Reverse engineer and rewrite real mode DOS programs!
|