| 117 | // clang-format on |
| 118 | |
| 119 | static int GetBit(int bit, const ByteArray& bytes) |
| 120 | { |
| 121 | bit--; |
| 122 | return (bytes[bit / 6] & (1 << (5 - (bit % 6)))) == 0 ? 0 : 1; |
| 123 | } |
| 124 | |
| 125 | static unsigned int GetInt(const ByteArray& bytes, const ByteArray& x) |
| 126 | { |