hello there,
I am using some example code to try and implement some Matlab capabilities in
Java. One of the methods involves the conversion of a short[] to byte[].
Here is the code from the example
I am still new to this kind of thing, but this method seems a bit convoluted. Is there a simpler, easier to understand way to do the conversion?
Many thanks!