A set of extension methods for doing bitwise manipulation such as endianness (bytes<-->integral types) and rotation.
Endianness-related functionality: short, ushort, int, uint, long, ulong : conversion between (to and from) these and byte arrays.
Little and big-endian methods exist at feature and/or type parity.
Endianness conversions operating on multiple values (bulk operations) are performance-enhanced with optimised 'unsafe' implementations. They are considerably faster than comparable operations provided by the BCL.
See the version list below for details.
Install-Package BitManipulator -Version 1.0.2
dotnet add package BitManipulator --version 1.0.2
<PackageReference Include="BitManipulator" Version="1.0.2" />
paket add BitManipulator --version 1.0.2
Added Int16/short type methods.
This package has no dependencies.