I am using some algorithms which need data represented in array of bytes it is no problem when I am working on text files but I don't know how to put a sound file in a that kind of array. I don't have specified extension of that sound file, so it can be whatever is the easiest. So: How to put a sound file to a byte array in Java?
Thank you.
byte[] bytes = new byte[length];? your question isn't clear. do you not know how to create bytes array and java syntax?