| 36 | } |
| 37 | |
| 38 | std::optional<uint8_t> StringConsumer::PeekUint8() const |
| 39 | { |
| 40 | if (this->GetBytesLeft() < 1) return std::nullopt; |
| 41 | return static_cast<uint8_t>(this->src[this->position]); |
| 42 | } |
| 43 | |
| 44 | std::optional<uint16_t> StringConsumer::PeekUint16LE() const |
| 45 | { |
no test coverage detected