IBinary
ReferencesInterface to enforce support for binary (de)serialization. Do not implement this interface as a 3rd party developer. If you want to read and write your data to and from a GH archive, implement IStorable instead.
Methods
Read
#Read your data from a binary stream.
Parameters:
| reader (BinaryReader) | Object to read with. |
| context (ReadContext) | Deserialisation context details. |
Write
#Write the data to a binary stream.
Parameters:
| writer (BinaryWriter) | Object to write with. |
| context (WriteContext) | Serialisation context details. |