| 55 | } |
| 56 | |
| 57 | char* GetBitsReverseString() |
| 58 | { |
| 59 | for (int i = 0; i < length; i++) |
| 60 | { |
| 61 | unsigned char bit = GetBit(i); |
| 62 | bits[i] = bit + '0'; // Get ascii representation of bit |
| 63 | } |
| 64 | |
| 65 | bits[size - 1] = '\0'; |
| 66 | |
| 67 | return bits; |
| 68 | } |
| 69 | |
| 70 | //void PrintBit(int index) |
| 71 | //{ |