Remove dependancy on endian.h (which is not available on all systems)
Remove dependancy on endian.h (which is not available on all systems)

bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu