| 123 | } |
| 124 | |
| 125 | static unsigned int GetInt(const ByteArray& bytes, const ByteArray& x) |
| 126 | { |
| 127 | int len = Size(x); |
| 128 | unsigned int val = 0; |
| 129 | for (int i = 0; i < len; i++) |
| 130 | val += GetBit(x[i], bytes) << (len - i - 1); |
| 131 | |
| 132 | return val; |
| 133 | } |
| 134 | |
| 135 | static unsigned int GetPostCode2Length(const ByteArray& bytes) |
| 136 | { |
no test coverage detected