Changed the buffer to use uint64 instead of int64