Absolutely, it one took me a while to get this one right. This is an array of 3 byte integers, which has a separate array of offsets pointing to each element. To byteswap it in place I'd have to modify the offsets too, so I just copy upper 3 bytes into a temp buffer, and do a littlelong on it, which gives the same results.