Predeclared type

Go uint32 type

Unsigned 32-bit integer, range 0 to 4294967295. Useful for 32-bit bit masks and binary fields. Example output: '80000000'.

Formal Syntax & Structure

go syntaxgo
uint32

Working Example

Example Snippetgo
package main
import (  "fmt")
func main() {  var mask uint32 = 0x80000000  fmt.Printf("%x\n", mask)}
Go Reference