| 66 | void decoder::decode(const std::string& s) { decode(s.data(), s.size()); } |
| 67 | |
| 68 | bool decoder::more() { |
| 69 | internal::state_guard sg(*this); |
| 70 | return next(); |
| 71 | } |
| 72 | |
| 73 | type_id decoder::pre_get() { |
| 74 | if (!next()) throw conversion_error("no more data"); |