DataPack.WriteString Method

Packs a string into a data pack.

void WriteString(const char[] str, bool insert)

Parameters

const char[] str

String to add.

bool insert

Determines whether mid-pack writes will insert instead of overwrite.