Provide your overloads of operator<< and operator>> for the BulletInfo type, by serializing each member.
To prepare a packet for transmission, you iterate through the list and serialize every element. To extract data from a packet after receiving, you add new elements to the list until there is no more data in the packet.