- uint16
uint16
examples/uint16/uint16.go
package main import ( "fmt" "unsafe" ) func main() { var z uint16 fmt.Println(z) z-- fmt.Println(z) fmt.Println(unsafe.Sizeof(z)) }
0 65535 2
package main import ( "fmt" "unsafe" ) func main() { var z uint16 fmt.Println(z) z-- fmt.Println(z) fmt.Println(unsafe.Sizeof(z)) }
0 65535 2