/*
{"description" : "This is a simple utility interface to help build a string in multiple parts."}
*/
interface StringBuilder {
/* {"@description" : "The current contents of the string builder."} */
transfer char builderContent[]
/*
{"@description" : "Add a new string to the end of the current string."
"str" : "The string to be appended."}
*/
void add(char str[])
/*
{"@description" : "Get the total string constructed so far, as a single character array."
"@return" : "The string constructed so far."}
*/
char[] get()
}
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n data.StringBuilder -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation