-
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.
chore: support (u)int(8|16) fields ans slices, fix map issues,
This commit does several things: - Adds support for (u)int(8|16) fields and slices. Any such type (except for []uint8 and [n]uint8) will be encoded as protobuf fixed32 - Refactor unmarshal.go - Disallow encoding of maps with complex keys - Disallow encoding of maps with repeated values - Check pointer to slices in slices elements - Support empty structs - Arrays of complex types cannot be decoded for now - Other small fixes Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
- Loading branch information
Showing
17 changed files
with
1,307 additions
and
735 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
This file was deleted.
Oops, something went wrong.
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.