Hi everyone,
I am working with someone else's code that uses a struct defined as ...
If it were ...Code:
typedef struct RawFrame{
unsigned char* buf;
} RawFrame;
then I would simply read this as a pointer called buf that points to char objects.Code:
typedef struct RawFrame{
unsigned char *buf;
} RawFrame;
How does the dereference (*) symbol being on the "char" instead of the pointer name (buf) change the meaning?
Many thanks.