* See ISO/IEC 24778:2008 Section 10.1 */
| 210 | * See ISO/IEC 24778:2008 Section 10.1 |
| 211 | */ |
| 212 | static ECI ParseECIValue(BitArrayView& bits, const int flg) |
| 213 | { |
| 214 | int eci = 0; |
| 215 | for (int i = 0; i < flg; i++) |
| 216 | eci = 10 * eci + bits.readBits(4) - 2; |
| 217 | return ECI(eci); |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * See ISO/IEC 24778:2008 Section 8 |
no test coverage detected