Pike v8.0 release 1738

Method String.Buffer()->create()


Method create

String.Buffer 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.