Add functions about floatBSwap, doubleBSwap and int64BSwap.

also changed buffer.lua