Validates UTF-8 bytes for MQTT compliance.
Checks that the bytes:
The UTF-8 bytes to validate
DecodeResult with the decoded string or error
MQTT 5.0 ยง1.5.4
Validates UTF-8 bytes for MQTT compliance.
Checks that the bytes: