What does the syntax of the following cast to an object Page of struct WHISPERPACKET mean
typedef struct
{
unsigned char uchData[512];
unsigned char uchType;
unsigned char uchInfo;
unsigned short unSampleRate;
unsigned short unSamples;
}WHISPERPACKET;
typedef unsigned char BYTE;
WHISPERPACKET Page;
PageBuffer = (BYTE*)&Page;
edit:
BYTE* PageBuffer;
PageBufferis missing, hopefully it's of typeBYTE *, to which the address ofPageis casted. See e.g. stackoverflow.com/questions/14769917/…Page, but to aPage*pointer&Page. The goal is likely to access the underlying storage ofPageas an array of bytes.