unsafe.Pointer 只是单纯通用的指针,用于转换不同的类型,不可以参与指针运算 uintptr是用于指针运算的,GC不把uintptr当指针,会被回收 unsafe.Pointer可以和普通指针相互转换 unsafe.Pointer 1可以和uintptr相互转换