[#BloombergLP-bslim-FuzzDataView-removePrefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]::removePrefix :relfileprefix: ../../../ :mrdocs: Remove a prefix of this view and return a view of the removed bytes. == Synopsis Declared in `<bslim_fuzzdataview.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslim/FuzzDataView.adoc[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 [cols="1,4"] |=== | Name| Description | *numBytes* | number of bytes to remove from the start of this view |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#