| 198 | |
| 199 | template <typename TSource, typename OutIt> |
| 200 | OutIt ReadAndDecode(TSource & src, OutIt out) const |
| 201 | { |
| 202 | BitReader<TSource> bitReader(src); |
| 203 | size_t sz = static_cast<size_t>(ReadVarUint<uint32_t, TSource>(src)); |
| 204 | for (size_t i = 0; i < sz; ++i) |
| 205 | *out++ = ReadAndDecode(bitReader); |
| 206 | return out; |
| 207 | } |
| 208 | |
| 209 | template <typename TSource> |
| 210 | strings::UniString ReadAndDecode(TSource & src) const |