<DATALEN> in zabbix sender protocol is  64-bit unsigned, native endian

It will be more correct to use 64-bit unsigned, native endian  for <DATALEN> field.
see https://www.zabbix.com/documentation/1.8/protocols