Remove a prefix of this view and return a view of the removed bytes.
Synopsis
Declared in <bslim_fuzzdataview.h>
FuzzDataView
removePrefix(std::size_t numBytes);
Description
Remove the specified initial numBytes from this view if numBytes <= length() and remove length() bytes otherwise; return a view to the bytes that were removed. Note that this method will decrease the length of this view by min(numBytes, length()) bytes.
Return Value
a view of the bytes that were removed
Parameters
Name |
Description |
numBytes |
number of bytes to remove from the start of this view |
Created with MrDocs