 double value isn't written into bytebuffer but just reverse the buffer data!