uint8_t vs unsigned char

It documents your intent – you will be storing small numbers, rather than a character.

Also it looks nicer if you’re using other typedefs such as uint16_t or int32_t.

Leave a Comment