←back to thread

187 points xy2_ | 1 comments | | HN request time: 0.222s | source
Show context
netsharc ◴[] No.42075000[source]
Wow, I've never thought of it, but "syntax"-highlighting for binary files would be awesome.. e.g. "these bytes indicate the beginning of the next frame" (when talking about MP3/video files), maybe with mouseover support where it says e.g. "this value at this location indicates it's a $FOO variant of the file".

Anyone know of such a tool?

replies(3): >>42075030 #>>42075087 #>>42075347 #
1. pie_flavor ◴[] No.42075087[source]
I deal with a lot of cryptographic documents (e.g. public keys) and https://lapo.it/asn1js/ is a godsend for making sense of them. You just paste in hex or pem, and it shows the full deconstructed format along with two-way 'syntax highlighting' where if you hover over part of the deconstruction it highlights the equivalent part of the binary data. Hit the 'load' button for a representative example.