Gather at most n bytes contiguously into the current buffer, by coalescing subsequent buffers from the chain as necessary.

Synopsis

Declared in <folly/io/Cursor.h>

void
gatherAtMost(size_t n);

Description

methodset Modifiers

Parameters

Name

Description

n

The maximum number of contiguous bytes to gather.

Created with MrDocs