-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Definition::Sequence::length_width; remove Definition::Array Add Definition::Sequence::length_width field which allows specifying the width of the length tag for dynamically-sized arrays. This allows defining custom schema where length is, say, one-byte. Furthermore, support length_width being zero which indicates untagged sequences. Use that as a new way to describe a fixed-length arrays thus making Definition::Array no longer necessary. Lastly, zero length_width with length range which is more than just one value allows to document a custom encoding which cannot be fully specified with the schema. * review * doc fixes * chore: var changes (as requested) --------- Co-authored-by: dj8yf0μl <[email protected]>
- Loading branch information
Showing
10 changed files
with
293 additions
and
79 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
Oops, something went wrong.