kaitai_struct
kaitai_struct copied to clipboard
Compiler should throw error if `pad-right` or `terminator` do not fit into byte
terminator
and pad-right
specify single bytes, but compiler allows any integer value,which do not fit into byte.
Fox example, that KSY successfully compiles in web-IDE (both stable and devel):
meta:
id: non_bytes
seq:
- id: field
pad-right: 0x200
terminator: 0x300
size: 1