Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
String
String.Buffer

Method String.Buffer()->create()


Method create

void String.Buffer(int initial_size)

Description

Initializes a new buffer.

If no initial_size is specified, 256 is used. If you know approximately how big the buffer will be, you can optimize the operation of add() (slightly) by passing the size to this function.