svoid bytesToShorts_littleEndian(byte[] a, short[] b, int n) { n /= 2; for (int i = 0; i < n; i++) b[i] = shortFromBytes_littleEndian(a, i*2); }