-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use
type: strz
with terminator: (...)
See kaitai-io/ksy_schema#6 (comment) for a rationale. In fact, there is a JSON Schema constraint in ksy_schema to explicitly discourage this syntax (https://github.com/kaitai-io/ksy_schema/blob/e3a0398844734bf58789b9b8f08e3bc0c80a3274/ksy_schema.json#L466-L476).
- Loading branch information
1 parent
97d68e9
commit d66edc7
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ meta: | |
|
||
seq: | ||
- id: s1 | ||
type: strz | ||
type: str | ||
encoding: UTF-8 | ||
terminator: 0x7C | ||
- id: child | ||
|
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
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
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