<p>Is there any clear documentation on the binary formats used to serialize the various MFC data structures?  I've been able to view some of my own classes in a hex editor and use Java's ByteBuffer class to read them in (with automatic endianness conversions, etc).</p>

<p>However, I am currently running into issues while trying to bring over the CObArray data, as there seems to be a rather large header that is opaque to me, and it is unclear how it is persisting object type information.</p>

<p>Is there a set of online documentation that would be helpful for this?  Or some sample Java code from someone that has dealt with this in the past?</p>

[{'answer_id': 55396, 'author': 'jmatthias', 'author_id': 2768, 'author_profile': 'https://Stackoverflow.com/users/2768', 'pm_score': 3, 'selected': True, 'text': '<p>Since MFC ships with source code I would create a test MFC application that serializes a CObArray and step through the serialization code. This should give you all the information you need.</p>\n'}, {'answer_id': 55406, 'author': 'ChrisN', 'author_id': 3853, 'author_profile': 'https://Stackoverflow.com/users/3853', 'pm_score': 2, 'selected': False, 'text': '<p>I agree with jmatthias: use the MFC source code.</p>\n\n<p>There\'s also <a href="http://msdn.microsoft.com/en-us/library/32wxt301%28VS.71%29.aspx" rel="nofollow noreferrer">this page</a> on MSDN that may be useful.</p>\n'}]
['https://Stackoverflow.com/questions/55369', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1432/']