Created
May 20, 2019 11:15
-
-
Save jabb3rd/a66ba26dc34ebbc6fb285452ce57f52e to your computer and use it in GitHub Desktop.
Winbox WBX export file (Kaitai Struct)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: wbx | |
file-extension: wbx | |
endian: le | |
seq: | |
- id: magic | |
contents: [0x0f, 0x10, 0xc0, 0xbe] | |
- id: records | |
type: record | |
repeat: eos | |
types: | |
record: | |
seq: | |
- id: record_size | |
type: u2 | |
- id: name_size | |
type: u1 | |
if: record_size != 0 | |
- id: name | |
type: str | |
encoding: cp1251 | |
size: name_size | |
if: record_size != 0 | |
- id: data | |
size: record_size - name_size - 1 | |
if: record_size > 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment