GH_ISerializable

References
public interface GH_ISerializable
Every object which needs to (de)serialize itself using GH_IO methodology must implement this interface.

Methods

Read

#
bool Read(GH_IReader reader)
This method is called whenever the instance is required to deserialize itself.
reader (GH_IReader)Reader object to deserialize from.
True on success, false on failure.

Write

#
bool Write(GH_IWriter writer)
This method is called whenever the instance is required to serialize itself.
writer (GH_IWriter)Writer object to serialize with.
True on success, false on failure.