This patch release removes more unnecessary uses of unsafe
that
were overlooked in the prior 1.2.0
release. In particular, the
ReadBytesExt::read_{f32,f64}_into_checked
methods have been deprecated and
replaced by more appropriately named read_{f32,f64}_into
methods.
The most prominent change in this release of byteorder
is the removal of
unnecessary signaling NaN masking, and in turn, the unsafe
annotations
associated with methods that didn't do masking. See
#103
for more details.
This release of byteorder
features a number of fixes and improvements, mostly
as a result of the
Litz Blitz evaluation.
Feature enhancements:
- FEATURE #63: Add methods for reading/writing slices of numbers for a specific endianness.
- FEATURE #65:
Add support for
u128
/i128
types. (Behind the nightly onlyi128
feature.) - FEATURE #72: Add "panics" and "errors" sections for each relevant public API item.
- FEATURE #74: Add CI badges to Cargo.toml.
- FEATURE #75: Add more examples to public API items.
- Add 24-bit read/write methods.
- Add
BE
andLE
type aliases forBigEndian
andLittleEndian
, respectively.
Bug fixes: