class BlockString
BlockStrings are good for serializing strings when read/write order is not guarenteed.
BlockStrings’ data lives in String in a string block, and therefore can be moved.
BlockString | BlockStrings are good for serializing strings when read/write order is not guarenteed. |
Functions | |
BlockString | Constructs an empty block string. |
Index | |
data | A chararcter pointer to the data. |
c_str | A chararcter pointer to NUL terminated data. |
Fragment | Casts this string to a Fragment |
ConstString | Casts this string to a ConstString |
bool | false if the string is not set. |
BlockStrings are good for serializing strings when read/write order is not guarenteed.
class BlockString
Constructs an empty block string.
BlockString()
int Index() const
A chararcter pointer to the data.
const char *data() const
A chararcter pointer to NUL terminated data.
const char *c_str() const
Casts this string to a Fragment
operator Fragment() const
Casts this string to a ConstString
operator ConstString() const
false if the string is not set.
operator bool() const