EspMQTTClient Arduino ESP32 with hex mqtt payload.

EspMQTTClient Arduino ESP32 with hex mqtt payload.

When attempting sending this hex payload = [0x01, 0x02, 0x03, 0x00, 0x04, 0x05 ], the ESP32 subscribed packaged breaks with the 0x00 (null or zero termination character).

I think this is an ESP32 issue but I would like to kindly ask help from if somebody who faced and solved this issue before.

Thanks.