Last active
July 10, 2019 16:42
-
-
Save Thracky/0c06ee94aef41a091f0f4c0b7763df07 to your computer and use it in GitHub Desktop.
Problematic portion of a ksy definition.
This file contains 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
record_pointer: | |
seq: | |
- id: rec_pointer | |
type: u1 | |
repeat: expr | |
repeat-expr: 4 | |
instances: | |
record_num: | |
value: rec_pointer[0] | |
page_num_byte1: | |
value: rec_pointer[1] | |
page_num_byte2: | |
value: rec_pointer[2] | |
page_num_byte3: | |
value: rec_pointer[3] | |
page_num: | |
value: page_num_byte1 + page_num_byte2 * 256 + page_num_byte3 * 65536 | |
record_page: | |
value: _root.pages[page_num].dt_page.records[record_num] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment