Basic module

init_string_builder

procedure · 1 overloadSource

Prepares builder for use. Called by the other procedures when needed, so you rarely call it. buffer_size sets the size of the buffers allocated after the first (the default is 4 KiB); the builder takes the current context allocator. Does nothing when already prepared.

init_string_builder :: (builder: *String_Builder, buffer_size := -1)

Parameters

builder: *String_Builder
buffer_size := -1

See also