Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What does C language (uint8 *) t stand for? What is the (uint8 *) in front?
What does C language (uint8 *) t stand for? What is the (uint8 *) in front?
(uint8 *) t represents a pointer converted to uint8_t type. Uint8 should be an unsigned 8-bit binary integer, which is actually an unsigned char type.

Forcibly convert the variable t type to uint8 * type, that is, to a pointer variable pointing to a variable of uint8 type.

Uint8_t: u is unsigned, int-shaped, and 8 occupies 8 bytes. _t is a universal suffix.

Specific definition: typedef unsigned int uint8 _ t; It's in < stdint.h & gt.

Extended data:

The corresponding *_t type of general plastics is:

1 byte uint8_t

2 bytes uint 16_t

4 bytes uint32_t

8 bytes uint64_t

Definition in header file:

Typedef signed character int 8 _ t;;

Typedef unsigned character uint8 _ t;

typedef int int 16 _ t;

Typedef unsigned intuint16 _ t;

typedef long int 32 _ t;

Typedef unsigned long uint32 _ t;

typedef long long int 64 _ t;

Typedef unsigned long long uint64 _ t;

typedef int 16 _ t int ptr _ t;

typedef uint 16 _ t uintptr _ t;