Fixed bug for flipEndian() with more than 32 bit sample data