comments in packetEncoder.c and packetEncoder.h