MCPcopy Create free account
hub / github.com/ElementsProject/elements / ConsumeRemainingBytesAsString

Method ConsumeRemainingBytesAsString

src/test/fuzz/FuzzedDataProvider.h:187–189  ·  view source on GitHub ↗

Returns a std::string containing all remaining bytes of the input data. Prefer using |ConsumeRemainingBytes| unless you actually need a std::string object.

Source from the content-addressed store, hash-verified

185// Prefer using |ConsumeRemainingBytes| unless you actually need a std::string
186// object.
187inline std::string FuzzedDataProvider::ConsumeRemainingBytesAsString() {
188 return ConsumeBytesAsString(remaining_bytes_);
189}
190
191// Returns a number in the range [Type's min, Type's max]. The value might
192// not be uniformly distributed in the given range. If there's no input data

Callers 2

FUZZ_TARGETFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected