Pop the first byte from a byte-span, and return it. */
| 14 | |
| 15 | /** Pop the first byte from a byte-span, and return it. */ |
| 16 | uint8_t ReadByte(FuzzBufferType& buffer) |
| 17 | { |
| 18 | if (buffer.empty()) return 0; |
| 19 | uint8_t ret = buffer.front(); |
| 20 | buffer = buffer.subspan(1); |
| 21 | return ret; |
| 22 | } |
| 23 | |
| 24 | /** Perform a simulation fuzz test on BitSet type S. */ |
| 25 | template<typename S> |
no test coverage detected