udp.write() methods

how can write this with just 1 message?,

        Udp.write((byte*)&valon, sizeof(valon)); 

as you can see i write string of chars 1, cast struct to bytes and write that, then i write the final string of chars. could this be done in just 1 Udp.write()?

some cores have printf?
but why do you want to print it at once? the message is sent with endPacket()

I did not know this. The documentation is very vague. They way they word it, the data is sent with udp.write?

Ahh now I see. They should reword the docs