Resizes the string to contain n characters.

Synopsis

Declared in <folly/FBString.h>

void
resize(
    size_type n,
    value_type c = value_type());

Parameters

Name

Description

n

The new size of the string.

c

The character used to fill any new positions.

Created with MrDocs