EnglishРусский  
 Share/Save/Bookmark
 

sizeof

Get the size of the type.

func uint sizeof (
   uint idtype
)

Parameters

idtype Identifier or the name of the type. The compiler changes the name of the type to its identifier.

Return value

The type size in bytes.

Related links

Source

Edit