folly::io::Cursor::reset

Reset cursor to point to a new buffer.

Synopsis

Declared in <folly/io/Cursor.h>

void
reset(IOBuf const* buf) noexcept;

Description

methodset Modifiers

Parameters

NameDescription
bufThe new IOBuf chain to point at.