not actually little-endian, just generic