In protocolclient.cpp, look at

STATUS ProtocolClient::RetrieveDatabases(TuneDatabaseObserver *db_observer)

specifically the references to dynamic_buffer (which is of type dynamic_data)

I'd tell you to look at the jEmplode source too, but I believe there are some problems in my port of the dynamic data code

ms