Method and Description |
---|
io.tus.java.client.TusUploader.uploadChunk(int)
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. |