Quantlab interview question

Create a serializer/deserializer protocol for a market data feed.