Constructs a string given its length (in bytes) and contents.
A new buffer of will be allocated and the given data will be copied there.
The string contents.
Return: A pointer to the newly constructed mg_string object or NULL if an error occurred.
See Implementation
Constructs a string given its length (in bytes) and contents.
A new buffer of will be allocated and the given data will be copied there.