Advertisement
7_2009-2012 VB function enhancement #227455

FYI: Bits - Manipulation

The attached class contains a lot of bit manipulation routines. Here are some of them 1) Right/Left shifting, both logical & arithmetic logic, both truncation & wrapping, 2) Get/Set any bits or a range of bits, 3) Convert data types and byte arrays to a string of bits, 4) Convert a string of bits to byte,int,long 5) CRC32 calcs on arrays and strings, 6) and many more. Let me know if you see any errors or potential improvements.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine