Copies a string with the document's allocator. Failure preserves both value and budget. max_string_bytes limits one decoded string/key/fraction; retained bytes bound their total. Example: error = toml_set_text(*doc, value, "tool");
Signature
toml_set_text :: (
doc: *Toml_Document,
value: *Toml_Value,
text: string
) -> Toml_Error