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.

Hello Edavalos.

I am also trying to understand a bit more about the ghdata file format.
At the moment I would like to read one ghdata file using the c# component.
Have you ever attempted this or had any success in how to do it.
I’ve tried reading the Grasshopper SDK documentation to understand the methods to use and how but could really not understand.
A step by step tutorial would help but could not find anything like that so far.
Appreciate any help with this.

Thank you.
Regards
Bruno