IBinary

References
public interface IBinary
Interface 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.
void Read(
reader,
Object to read with.
context
Deserialisation context details.
)

Write

#
Write the data to a binary stream.
void Write(
writer,
Object to write with.
context
Serialisation context details.
)