* If the next data matches the UTF-8 char 'c', then skip it. */
| 509 | * If the next data matches the UTF-8 char 'c', then skip it. |
| 510 | */ |
| 511 | void SkipUtf8If(char32_t c) |
| 512 | { |
| 513 | auto [len, result] = this->PeekUtf8(); |
| 514 | if (len > 0 && result == c) { |
| 515 | this->Skip(len); |
| 516 | } |
| 517 | } |
| 518 | |
| 519 | /** |
| 520 | * Peek the next 'len' bytes. |
no test coverage detected