-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce sizing methods to calculate needed bytes
Each struct and enum in a schema can now calculate its total encoded byte size. As each collection must be iterated it can be a costly operation but it might be faster (or sometimes even required) to allocate a buffer upfront instead of dynamically growing it.
- Loading branch information
Showing
38 changed files
with
1,385 additions
and
42 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
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.