SetFilePointer .dat文件写内容

写一个结构体数据到.dat文件