| 106 | // char, unsigned char, uint8_t, etc. |
| 107 | template <typename T> |
| 108 | std::vector<T> FuzzedDataProvider::ConsumeBytes(size_t num_bytes) { |
| 109 | num_bytes = std::min(num_bytes, remaining_bytes_); |
| 110 | return ConsumeBytes<T>(num_bytes, num_bytes); |
| 111 | } |
| 112 | |
| 113 | // Similar to |ConsumeBytes|, but also appends the terminator value at the end |
| 114 | // of the resulting vector. Useful, when a mutable null-terminated C-string is |
nothing calls this directly
no test coverage detected