Click here to Skip to main content
15,887,683 members
Articles / Programming Languages / SQL

Encode / Decode n-bit Integers into byte[]

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
1 May 2014CPOL 13.5K   4  
The class allows you to encode / decode 4, 9 or 17 bit (for example, 1 through 31 bit unsigned int supported) integers to and from a byte[].

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions