StringBlock

class StringBlock

Holds a concatenated block of strings.

Summary
StringBlockHolds a concatenated block of strings.
Functions
LoadCopies the data into the StringBlock.
AddString
FindString
FromIndex
data (the entire block)
size (of the entire block)

Functions

Load

void Load(const Fragment &data)

Copies the data into the StringBlock.  Same as calling AddString for each terminated string inside the fragment.

AddString

BlockString AddString(const Fragment &)

FindString

BlockString FindString(const Fragment &) const

FromIndex

BlockString FromIndex(int index) const

data (the entire block)

const char *data()

size (of the entire block)

size_type size()
class StringBlock
Holds a concatenated block of strings.
void Load(const Fragment &data)
Copies the data into the StringBlock.
BlockString AddString(const Fragment &)
BlockString FindString(const Fragment &) const
BlockString FromIndex(int index) const
const char *data()
size_type size()
Close