uintptr
已收录文章:2篇
-
unsafe 包 func Alignof(x ArbitraryType) uintptr func Offsetof(x ArbitraryType) uintptr func Sizeof(x ArbitraryType) uintptr type ArbitraryType int type Pointer *ArbitraryType 在unsafe包中,只提供了3个函数,两个类型。就这么少的量255 收藏
-
uintptr uintptr 的定义在 builtin 包下,定义如下: // uintptr is an integer type that is large enough to hold the bit pattern of // any pointer. type uintptr uintptr 参照注释我们知道: uintptr 是一个整数类型(这个非常重408 收藏