| 295 | |
| 296 | |
| 297 | __hot |
| 298 | std::optional<uint32_t> slice_istream::readUVarInt32() noexcept { |
| 299 | uint32_t n; |
| 300 | if (size_t bytesRead = GetUVarInt32(*this, &n); bytesRead > 0) { |
| 301 | skip(bytesRead); |
| 302 | return n; |
| 303 | } else { |
| 304 | return std::nullopt; |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | } |
nothing calls this directly
no test coverage detected