does uint4 exist?
I have this problem: I don't know how I can read a fixed number of bit and convert them into an int.
To be more clear:
I am using uint8 to read 8 bits field, does it exist something equivalent for 4 bit or 12?
How can I do?
Thanks a lot to everybody who has some ideas!
Take a look at http://www.codeguru.com/data-misc/NumberBase.html.
He has 2 functions one to convert strings to numbers and the other to convert numbers to strings. Both accept a base argument ranging from 2 to 32.