You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is really useful for debugging, especially when you're trying to implement serialization/deserialization logic.
Kaitai Struct is a tool that allows you to write declarative grammars for binary formats.
One of the tools it provides is a hex-based visualizer available in browser:
I wrote a grammar for the page format based on the description in the doc comments.
You can try it by visiting the ide.kaitai.io link, pasting the below definition, and uploading a page file to the hex editor.
I discovered that using repeat-until: _ != 0 is fragile.
Katai supports a more complex form of expression where you can say where the position should start from, so this works much better:
This is really useful for debugging, especially when you're trying to implement serialization/deserialization logic.
Kaitai Struct is a tool that allows you to write declarative grammars for binary formats.
One of the tools it provides is a hex-based visualizer available in browser:
I wrote a grammar for the page format based on the description in the doc comments.
You can try it by visiting the
ide.kaitai.io
link, pasting the below definition, and uploading a page file to the hex editor.Hope other folks find this as useful as I have =)
msedge_DdHUpeoIFI.mp4
The text was updated successfully, but these errors were encountered: