Note that the length of the string is the byte count of the UTF-8 encoded
data. It is guaranteed that the bytes of the string are stored contiguously,
and they can be accessed through a pointer to first element returned by
mg_string_data.
Note that the library doesn't perform any checks whatsoever to see if the
provided data is a valid UTF-8 encoded string when constructing instances of
mg_string.
Maximum possible string length allowed by Bolt protocol is uint.max.
An UTF-8 encoded string.
Note that the length of the string is the byte count of the UTF-8 encoded data. It is guaranteed that the bytes of the string are stored contiguously, and they can be accessed through a pointer to first element returned by mg_string_data.
Note that the library doesn't perform any checks whatsoever to see if the provided data is a valid UTF-8 encoded string when constructing instances of mg_string.
Maximum possible string length allowed by Bolt protocol is uint.max.