mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-14 07:04:50 -04:00
Split 'SplitMerge' class into 2 normal
Update NETCommunications: installation speed now 2x faster
This commit is contained in:
parent
267ffcf5d2
commit
6993b89d52
8 changed files with 167 additions and 145 deletions
|
@ -307,7 +307,7 @@ public class NETCommunications implements Runnable {
|
|||
private void handleSplitFile(File file, long start, long end) throws Exception{
|
||||
long count = end - start + 1;
|
||||
|
||||
int readPice = 8388608;
|
||||
int readPice = 1024;// NOTE: keep it small for better speed
|
||||
byte[] byteBuf;
|
||||
long currentOffset = 0;
|
||||
|
||||
|
@ -333,7 +333,7 @@ public class NETCommunications implements Runnable {
|
|||
private void handleRegularFile(File file, long start, long end) throws Exception{
|
||||
long count = end - start + 1;
|
||||
|
||||
int readPice = 8388608;
|
||||
int readPice = 1024; // NOTE: keep it small for better speed
|
||||
byte[] byteBuf;
|
||||
long currentOffset = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue