v1.0.3
What's Changed
- Library Improvements by @bluebinary in #2
-
Added input validation for the
.encode()methods, and additional unit testing for theUnsignedLongtype. -
Added a new utilities sub-module containing the
hexbyteshelper method that can be used to format rawbytesorbytearrayvalues into hexadecimal encoded strings for review, and theprint_hexbyteshelper method that can be used to print such strings. -
Changed type casting of the decoded return value for the
Bytesclass when reversed back to abytestype, fixing a previous issue where the reversed return type was alisttype. -
The
BytesViewclasssplitlength value can now be equal to the length of the provideddatavalue; previously thesplitlength had to be less than the length of thedatavalue. -
The type hints for the
BytesViewclass'__iter__and__next__methods have been corrected frombytesviewtoBytesView, andbytestobytearrayrespectively.
Full Changelog: v1.0.2...v1.0.3