Open gennyble opened 2 years ago
Is it possible to mutate the file in place without reading and writing the entire thing? I mean, it has to be. Maybe not platform agnostic. We can do it for known platforms and fall back to read/write the entire thing if we encounter one we don't know?
Or maybe a subcommand. Akin to
hxt insert_into <filename> at <offset> from <hxt_name>
.Or maybe just a regular subcommand kind of thing:
hxt insert_into <file> <offset> <hxt>
Allow both?