# GH_IBinarySupport interface

Namespace: [GH_IO.Serialization](https://developer.rhino3d.com/api/gh1/namespace/gh-io.serialization.md) · Assembly: [GH_IO](https://developer.rhino3d.com/api/gh1/assembly/gh-io.md)

```cs
public interface GH_IBinarySupport
```

Interface which declares all methods required for objects that can be (de)serialized to and from a binary archive.

**Derived types:** [GH_IChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-ichunk.md), [GH_Item](https://developer.rhino3d.com/api/gh1/type/gh-io.types.gh-item.md)

## Methods

- [Read](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-ibinarysupport/read.md): Called when an object is required to deserialize itself.
- [Write](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-ibinarysupport/write.md): Called when an object is required to serialize itself.
