show/edit binary

Discuss GUI programming with the RapaGUI plugin here
Post Reply
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

show/edit binary

Post by tolkien »

Hiz!

In my evil code I'm using texteditor for displaying text but now I need show binary files but perhaps texteditor is not capable?
Any idea?

thanks!
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: show/edit binary

Post by airsoftsoftwair »

Binary files are typically shown as hex octets alongside ASCII characters. It should be possible to do this with text editor class but of course you'd have to filter all control characters and show them as "." or something.
tolkien
Posts: 190
Joined: Sun Oct 17, 2010 10:40 pm
Location: Spain

Re: show/edit binary

Post by tolkien »

I have it! Was easier than I thought.
Thanks!
Post Reply