I'm trying to load in a url that is a zip file.. Right now I read in the file to get the size. Then create an array of ints with that size, and then read in the file again and store it in my array
- Is there a way to get the size of the url so I do not have to read it in twice?
- Is there a way to change the size of the array as I read it in so I do not have to get the size ahead of time.
It seems silly to read in the file 3 times