Guest User

Untitled

a guest
Apr 25th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. T[] copyOfRange (T[] original,
  2. int from,
  3. int to);
  4.  
  5. Byte[] copyOfRange (original,
  6. 0,
  7. 5000000);
  8.  
  9. int offset = 0;
  10.  
  11. while(image_is_not_uploaded) {
  12.  
  13. Byte[] copyOfRange (original,
  14. offset,
  15. offset + 5000000);
  16. offset += 5000000;
  17.  
  18. }
Add Comment
Please, Sign In to add comment