| 104 | } |
| 105 | |
| 106 | static void DecodeByteSegment(BitSource& bits, int count, Content& result) |
| 107 | { |
| 108 | result.switchEncoding(CharacterSet::Unknown); |
| 109 | result.reserve(count); |
| 110 | |
| 111 | for (int i = 0; i < count; i++) |
| 112 | result += narrow_cast<uint8_t>(bits.readBits(8)); |
| 113 | } |
| 114 | |
| 115 | static char ToAlphaNumericChar(int value) |
| 116 | { |
no test coverage detected