template <typename T>
struct MinSize
Defined at line 59 of file ../../sdk/lib/fuzzing/cpp/traits.h
Abstract type traits for low-level types needed by FIDL fuzzers:
size_t MinSize
<T
>()
Returns the minimum size, in bytes, of fuzz input data consumed by an
instance of type, T.
T Allocate
<T
>(FuzzInput* src, size_t* size)
Allocates at most |size| bytes from |src| to return a fuzzer input of type,
T. Modifies |size| to reflect actual number of bytes consumed from |src|.
Both |src| and |size| are assumed to be non-null.
Public Methods
size_t operator unsigned long ()
Defined at line 62 of file ../../sdk/lib/fuzzing/cpp/traits.h