Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- T[] copyOfRange (T[] original,
- int from,
- int to);
- Byte[] copyOfRange (original,
- 0,
- 5000000);
- int offset = 0;
- while(image_is_not_uploaded) {
- Byte[] copyOfRange (original,
- offset,
- offset + 5000000);
- offset += 5000000;
- }
Add Comment
Please, Sign In to add comment