Update utils.lua

buf2int support 64bit