Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.12 KB | None | 0 0
  1. inline readBit(char input, int position){
  2. static char BITLUT[]={1,2,4,8,16,32,64,128};
  3. return BITLUT[position]&input;
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement