Properly handle u8 pointers when assigning and comparing by mcspr · Pull Request #8818 · esp8266/Arduino (original) (raw)

raw6() is one thing left over, we sometimes have u8 scope at the end so it is not techically valid code to reinterpret like that. alignment works out, though
tbh I'd prefer we return a real value instead of pointer for our internal usage, and leave ptr access for Arduino compatibility (meaning, std::array<uint8_t, 4> and std::array<uint16_t, 8> / std::array<uint8_t, 16> and operate on that vs. weird overloads all over the place and no size checks)