Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. byte convertBinToDec() {
  2. byte result = 0;
  3. for(int i = 0; i < numBits; i++) {
  4. result |= masterBinCountIn[(11-i)] << i;
  5. }
  6. return result;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement