No problem. In these cases, the integer would be something different if you flipped the endian. So something like 1 would be as 128 the other way around.
avencherus | 2017-02-12 19:29
How did you convert bytes to int to read the wav data? I was just experimenting with this and tried writing each four byte chuck to a new PoolByteArray, then tried to convert that using bytes2var so I could read the value of the sample. But I get an error from the bytes2var call saying “Not enough bytes for decoding bytes, or invalid format.” According to the docs I found, an int = four bytes.