Show / Hide Table of Contents

# Interface IBinarizable

Interface to implement custom serialization logic.

###### Namespace: Apache.Ignite.Core.Binary

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IBinarizable

### Methods

#### ReadBinary(IBinaryReader)

Reads this object from the given reader.

##### Declaration

    void ReadBinary(IBinaryReader reader)

##### Parameters

Type | Name | Description
--- | --- | ---
IBinaryReader | reader | Reader.

##### Exceptions

Type | Condition
--- | ---
System.IO.IOException | If read failed.

#### WriteBinary(IBinaryWriter)

Writes this object to the given writer.

##### Declaration

    void WriteBinary(IBinaryWriter writer)

##### Parameters

Type | Name | Description
--- | --- | ---
IBinaryWriter | writer | Writer.

##### Exceptions

Type | Condition
--- | ---
System.IO.IOException | If write failed.