Alternate version of peekBytes() that returns a std::span instead of a ByteRage.
Synopsis
Declared in <folly/io/Cursor.h>
std::span<uint8_t const>
peek();
Description
methodset Accessors
Return Value
The available bytes in the current IOBuf, as a span.
Created with MrDocs