Reading bits from byte (in a file)

Reading bits from byte...
Shop for it: (added from 1 site)

Added by 1 people

A heart!0 Hearts
Description:
Hello. I need to read bits from bytes in a file. I have code that works but it's very slow. Can anybody help me? The code I have is: private bool GetBit(byte b, int pos) { return ((b & (byte)(1 << pos)) != 0); } private int... See more »
Tags:

Comments (0)

HTML Help

Add a Comment: