Once upon a time (early previous year), I had a silly idea. Why can't my text editor read binary files?

I've since decided to stop developing the text editor, but a little now and then I went through my git history and found the correct commit where the binary viewer was still functional.

The idea was pretty simple, it took input in the form of

struct Data
{
    U32 magic;
    U32 size;
    I32 payload; // Assuming size is 64
};
@0x00 Data
output the data in the file, starting from 0x00, in a formatted way. As this was integrated in my text editor I would get (almost) instant preview when I made a change to the struct. So when I saw the I32 payload[64] actually had a size of 128, I could easily change it... but it got tedious.

Wouldn't it be nicer if I could write

struct Data
{
    U32 magic;
    U32 size;
    I32 payload;
};
@0x00 Data

That's how BEdit started,