folly::io::Cursor::skipAtMost

Advance the cursor by at most len bytes.

Synopsis

Declared in <folly/io/Cursor.h>

size_t
skipAtMost(size_t len);

Description

methodset Modifiers

Return Value

The number of bytes actually advanced.

Parameters

NameDescription
lenThe maximum number of bytes to advance.