What sort of data is a .ghdata containing?

Hello everybody,
I´ve been using the Data Input and Data Outpur components for a while now, very satisfied with their functionality.
I´m just being curious right now about the .ghdata files these components store:

-What are they containing exactly and how different is it from a.gh file, are they encrypted in the same coding scheme?
-Is it possible to read it as an .XML?
-Can a .ghdata file be parsed so that we can access and edit its content?

Thanks!

Grasshopper has its own (de)serializer (a way of reading and writing data to files) in the GH_IO.dll library.

Both file saving and these components use this same scheme. But the components only store one isolated chunk while the documents hold many different things with a specific structure.

From code yes. This library supports binary and xml.