Reads one byte and returns a bool, or false when no data remains.
| 286 | |
| 287 | // Reads one byte and returns a bool, or false when no data remains. |
| 288 | inline bool FuzzedDataProvider::ConsumeBool() { |
| 289 | return 1 & ConsumeIntegral<uint8_t>(); |
| 290 | } |
| 291 | |
| 292 | // Returns an enum value. The enum must start at 0 and be contiguous. It must |
| 293 | // also contain |kMaxValue| aliased to its largest (inclusive) value. Such as: |
no outgoing calls
no test coverage detected