-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove not particularly useful features (#418)
* proto: remove CreateMessageDefinition, CreateMessageDefinitionTo and WithMessages * proto: remove Message's WithFields and WithDeveloperFields method * remove internal/kit * remove (Message) WithFieldValues * remove all Clone() method * encoder: add unit test for newMessageDefinition * remove factory CreateMesgOnly * decoder: make Accumulator values private and update docs * encoder: allocate mesgDef fields and developerFields upfront size 255 * proto: remove constant MaxBytesPerMessage and MaxBytesPerMessageDefinition * proto: change FileHeader.ProtocolVersion type to proto.Version instead of byte * chore: update Factory interface code docs * decoder: rename ErrNotAFitFile to ErrNotFITFile * decoder: remove idempotent guarantee for PeekFileHeader and PeekFileId as we might change the behavior later * docs: update documentation * fuzz: ignore mesgDef reserved * basetype: remove IsInteger() EndianAbility() method, add EndianAbilityMask * remove: Reserved and Architecture fields from Message * proto: move LocalMesgNum and NewMessageDefinition functions to bottom * chore: clean up proto_marshal_test.go code * encoder: simplify encodeCRC * decoder: reset on Decode, make Next as optional
- Loading branch information
Showing
59 changed files
with
1,704 additions
and
1,850 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 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
Oops, something went wrong.