This type represents a view of a buffer of bytes provided by a fuzz testing harness.

Synopsis

Declared in <bslim_fuzzdataview.h>

class FuzzDataView;

Member Functions

Name

Description

FuzzDataView [constructor]

Create a FuzzDataView object from the specified fuzz data and size. The behavior is undefined unless data || (0 == size).

begin

Return a const pointer to the beginning of the buffer.

data

Return a pointer to the beginning of the buffer.

end

Return a const pointer to the end of the buffer.

length

Return the length in bytes of the buffer.

removePrefix

Remove a prefix of this view and return a view of the removed bytes.

removeSuffix

Remove a suffix of this view and return a view of the removed bytes.

Created with MrDocs