size_t and uint32_t in iOS program.

size_t, is the unsigned integer type of the result of the sizeof operator.

So any variable that holds the result of a sizeof operation should be declared as size_t.

uint32_t, OTOH(On The Other Hand), is guaranteed(?) 32 bits wide.

你可能感兴趣的:(size_t and uint32_t in iOS program.)