Use PacketInputArray to gather packet data