Info
Version: | 1.0.5 |
Author(s): | zenith |
Last Update: | Sunday, January 25, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://github.com/zenith-nz/BitManipulator |
NuGet Url: | https://www.nuget.org/packages/BitManipulator |
Install
Install-Package BitManipulator
dotnet add package BitManipulator
paket add BitManipulator
BitManipulator Download (Unzip the "nupkg" after downloading)
Dependencies
- PerfCopy(1.2.0)
Tags
Endianness-related functionality: short, ushort, int, uint, long, ulong : conversion between (to and from) individual items of these and byte arrays, and between arrays of any of these (UInt32[], for example) and byte arrays.
Little and big-endian methods exist at feature and/or type parity.
Rotation-related functionality: byte, short, ushort, int, uint, long, ulong : left and right bitwise circular rotation ("rotate no carry").
Please note: the rotation implemented here is NOT "rotate through carry"! As such, sign is NOT handled specially for signed types.
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.