Not necessarily a string since encodePacket will delegate the encoding to another function when binary is needed.