Fixed endiannes problem on Android.