The are a few variations of UDP.write(). If you specify a pointer, rather than a character, it will assume zero terminated string. To send zeros, you must specify the length of the buffer to be sent as the second parameter.
byte outBuf[16];
// This sends all 16 bytes, zeros and all
Udp.write(outBuf,16);