byte
isn't a standard C or C++ type ... It may be a typedef
in a non-standard header file. Where have you seen code with that type ? May be you would like to use const unsigned char *
?
I know that Visual Studio define BYTE type:
typedef unsigned char BYTE; // 8-bit unsigned entity.
typedef BYTE * PBYTE; // Pointer to BYTE.
But this is not standard. And it is "BYTE", not "byte".