-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify depolorizer unpacking and null checks
- resolves #40 - added a new method IsNull on Depolorizer to check if the next element on the wire is a WireNull - modified the DepolorizePacked method to return IncompatibleWire when encountering WireNull instead of ErrNullPack - removed the ErrNullPack error type - added a new method Unpacked on Depolorizer that is direct wrapper on DepolorizePacked for aesthetics and to be consistent by acting as a mirror to the Packed method on Polorizer -
- Loading branch information
1 parent
313c612
commit 5a50c26
Showing
4 changed files
with
63 additions
and
32 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