I have a byte array in little endian byte order. How do I convert it to a long (four bytes) array?
In layman's terms, I want to merge every four bytes.
I have a byte array in little endian byte order. How do I convert it to a long (four bytes) array?
In layman's terms, I want to merge every four bytes.
I quickly wrote a sample. It's not tested, though.