abbaye / WpfHexEditorControl

Wpf Hexeditor is a powerful and fully customisable user control for editing file or stream as hexadecimal, decimal and binary. Can be used in Wpf or WinForm application
https://www.nuget.org/packages/WPFHexaEditor/
Apache License 2.0
812 stars 135 forks source link

Cannot set/rewrite values from ascii part #88

Closed mcDandy closed 3 years ago

mcDandy commented 3 years ago

Describe the bug Cannot set hex value using ASCII part of editor. I am using wpf from net framework 4.8.

To Reproduce Steps to reproduce the behavior:

  1. create and link stream byte[] buffer = new byte[128]; Stream stream = new MemoryStream(128); stream.Write(buffer, 0, 128); Editor.Stream = stream; //Editor is name of HexEditor
  2. Try to write to ASCII view on the right
  3. See error

Expected behavior I am able to set values using ASCII view on the right

Screenshots obrazek

Desktop (please complete the following information):

Smartphone (please complete the following information): do not apply

Additional context Add any other context about the problem here.

abbaye commented 3 years ago

Thank for submitting this issues.

I Will check this weekend 🙂

Do you have trying with a file ?

Envoyé depuis mon SM-G781W en utilisant FastHub

abbaye commented 3 years ago

I have found the bug... i will correct this :)

abbaye commented 3 years ago

Corrected!! 😄