Just a question on handling "Byte[]" in java.
I have to read in a file of any type and chop it up into blocks for processing later on.
Was wondering if I got do a Byte[][] to keep the Byte[] in an array or would something else be a better way of doing it as I do now know how many elements the array of Byte[] can hold as the file might be huge and the blocks might be small.
Thanks. :)
I have to read in a file of any type and chop it up into blocks for processing later on.
Was wondering if I got do a Byte[][] to keep the Byte[] in an array or would something else be a better way of doing it as I do now know how many elements the array of Byte[] can hold as the file might be huge and the blocks might be small.
Thanks. :)
Comment