This method is inefficient and has been replaced by TusUploader.setChunkSize(int)
and TusUploader.uploadChunk() and should not be used anymore. The reason is, that
this method allocates a new buffer with the supplied chunk size for each time
it's called without reusing it. This results in a high number of memory
allocations and should be avoided. The new methods do not have this issue.
TusUploader.setChunkSize(int)
andTusUploader.uploadChunk()
and should not be used anymore. The reason is, that this method allocates a new buffer with the supplied chunk size for each time it's called without reusing it. This results in a high number of memory allocations and should be avoided. The new methods do not have this issue.