public class ChunkedString
Members:
construct()construct(int chunkSize)append(string pdata)hasChunk() returns booleanreadChunk() returns stringresetRead()getChunk(int index) returns stringgetChunkCount() returns int Returns the number of chunks in the string. The buffer counts as one chunkgetChunkSize() returns int Returns the length of every chunk in the string. The last chunk’s size may be smaller than this number.length() returns int Calculates the length of the whole string.getUnsafeString() returns string Concatenates all chunks into one string. This is unsafe because the chunked length might be above the maximum allowed string length.getUnsafeSubString(int startIndex, int endIndex) returns string Concatenates all chunks required to return the requested substring. This is unsafe because the chunked length might be above the maximum allowed string length.public constant DEFAULT_CHUNK_SIZE = 200
🔧 Configurable. Override it in your map’s config package.
Maximum length of one chunk