im quite new to java and i need to write an array of short to file. the function enables me only to write array of byte.
so i need to do array casting. i do not wish to make another array and move the data to it using loops because creating another array takes more space and copying through loops by parts of 1 byte each takes more time then copying the entire array at once.
can anyone help please?