public class ChunkedString
construct()construct(int chunkSize)Creates a chunked string with the given chunk size in bytes, which must be at least 1.
append(string pdata)hasChunk() returns booleanreadChunk() returns stringresetRead()getChunk(int index) returns stringgetChunkCount() returns intReturns the number of chunks in the string. The buffer counts as one chunk
getChunkSize() returns intReturns the configured length of every chunk in the string, in bytes. The last chunk’s size may be smaller than this number, and with ENABLE_MULTIBYTE_SUPPORT any chunk may be up to 3 bytes larger.
length() returns intCalculates the length of the whole string.
getUnsafeString() returns stringConcatenates 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 stringConcatenates all chunks required to return the requested substring. This is unsafe because the chunked length might be above the maximum allowed string length.