Hello @pb632146,
In C++17, std::byte was introduced as part of the standard library to represent raw byte data. If your code isn't recognizing byte, ensure you are including the correct header:
#include <cstddef> // for std::byte
By including this header, your project should properly recognize std::byte. This eliminates the need to convert every instance to unsigned char.
Best Regards,
James Henry