StringG.stringSizedNew

Creates a new #GString, with enough space for @dfl_size bytes. This is useful if you are going to add a lot of text to the string and don't want it to be reallocated too often.

class StringG
static
stringSizedNew
(
size_t dflSize
)

Parameters

dflSize size_t

the default size of the space allocated to hold the string

Return Value

Type: StringG

the new #GString

Meta