Skip to content

string_new_reserved

Declaration

string_new_reserved :: fn (size: usize) string

Description

Create new dynamic string instance with preallocated storage. This instance must be freed by string_delete call.

Arguments

  • size Size in bytes.

Result

New string.

Declared in: string.bl