ChunkCombiner is a simplified platform-neutral manipulation of Uint8arrays that allows to process text data on the fly. The implementation can be optimized for the target platform (node vs browser).
Concatenates first and second chunk.
first chunk
second chunk
first + second
Creates a new chunk from the supplied chunk.
chunk to copy
start index
end index
a copy of a chunk slice
Converts chunk into a string.
chunk
string representation of chunk slice
ChunkCombiner is a simplified platform-neutral manipulation of Uint8arrays that allows to process text data on the fly. The implementation can be optimized for the target platform (node vs browser).