VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

FYI: Bits Manipulation

LaVolpe  (66 Submissions)   VB function enhancement   Intermediate   Wed 3rd February 2021

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.

Rate FYI: Bits Manipulation (19(19 Vote))

Download FYI: Bits Manipulation

FYI: Bits Manipulation Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters