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

Function ConsumeRandomLengthBitVector

src/test/fuzz/util.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111[[nodiscard]] inline std::vector<bool> ConsumeRandomLengthBitVector(FuzzedDataProvider& fuzzed_data_provider, const std::optional<size_t>& max_length = std::nullopt) noexcept
112{
113 return BytesToBits(ConsumeRandomLengthByteVector(fuzzed_data_provider, max_length));
114}
115
116[[nodiscard]] inline CDataStream ConsumeDataStream(FuzzedDataProvider& fuzzed_data_provider, const std::optional<size_t>& max_length = std::nullopt) noexcept
117{

Callers 1

ConsumeAsmapFunction · 0.85

Calls 2

BytesToBitsFunction · 0.85

Tested by

no test coverage detected