ChunkedString
Sourceint DEFAULT_CHUNK_SIZE
Source
 Maximum length of one chunk 
class ChunkedString
Source
string buffer
Source
int chunkCount
Source
 function append(string pdata)
Source
 function getChunk(int index) returns string
Source
 function getChunkCount() returns int
Source
 Returns the number of chunks in the string. The buffer counts as one chunk 
 function getChunkSize() returns int
Source
 Returns the length of every chunk in the string. The last chunk's size may be smaller than this number. 
 function getUnsafeString() returns string
Source
 Concatenates all chunks into one string.
This is unsafe because the chunked length might be
above the maximum allowed string length. 
 function getUnsafeSubString(int startIndex, int endIndex) returns string
Source
 Concatenates all chunks required to return the requested substring.
This is unsafe because the chunked length might be
above the maximum allowed string length. 
 function hasChunk() returns boolean
Source
 function length() returns int
Source
 Calculates the length of the whole string. 
 function readChunk() returns string
Source
 function resetRead()
Source