v1.0.2
What's Changed
-
Library Improvements by @bluebinary in #1
-
Added several new features to the library including a new
BytesViewclass; updated the documentation, added unit tests for all of the data types; and fixed a few issues. -
Added support for creating
Bytesvalues frombytesvalues. -
Added a new
BytesViewclass for iterating overbytesandbytearrayobjects with the ability to access the data as arbitrarily sized groups of bytes as well as being able to cast bytes to specific data types. -
Added
Float,Float16,Float32andFloat64types, as well asDouble(an alias forFloat64). -
Added
Size,SingedSizeandUnsignedSizeinteger subtypes which have a maximum size dependent upon the system they are running on. -
Added
Unicode,UTF8,UTF16,UTF32,ASCIItypes to compliment theStringtype; these string variants hold strings with different default character encodings. -
Added
Typesuperclass as a parent of all of the type subclasses which makes type comparison and class hierarchy membership easier to discern and allows shared behaviour to be centrally defined and maintained. -
The
Shorttype was previously unsigned and is now signed as per the C standard following the Python convention; theShorttype was previously based on embedded metadata standards, which treatshortas unsigned and defined a separatesigned short. -
The
Longtype was previously unsigned and is now signed as per the C standard following the Python convention; theLongtype was previously based on embedded metadata standards, which treatlongas unsigned and defined a separatesigned long. -
The
LongLongtype was previously unsigned and is now signed as per the C standard following the Python convention; theLongLongtype was previously based on embedded metadata standards, which treatlong longas unsigned and defined a separatesigned long long. -
A new
UnsignedShorttype has been added to compliment the signedShorttype and pairs with theSignedShorttype which is functionally equivalent toShort. -
A new
UnsignedLongtype has been added to compliment signedLongtype and pairs with theSignedLongtype which is functionally equivalent toLong. -
A new
UnsignedLongLongtype has been added to compliment signedLongLongtype and pairs with theSignedLongLongtype which is functionally equivalent toLongLong.
Full Changelog: v1.0.1...v1.0.2