Search Results for

Show / Hide Table of Contents

# Interface IBinaryRawWriter

Raw writer for binary objects.

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

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

##### Syntax

    public interface IBinaryRawWriter

### Methods

#### WriteArray<T>(T[])

Write object array.

##### Declaration

    void WriteArray<T>(T[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
T[] | val | Object array.

##### Type Parameters

Name | Description
--- | ---
T |

#### WriteBoolean(Boolean)

Write boolean value.

##### Declaration

    void WriteBoolean(bool val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Boolean | val | Boolean value.

#### WriteBooleanArray(Boolean[])

Write boolean array.

##### Declaration

    void WriteBooleanArray(bool[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Boolean[] | val | Boolean array.

#### WriteByte(Byte)

Write byte value.

##### Declaration

    void WriteByte(byte val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Byte | val | Byte value.

#### WriteByteArray(Byte[])

Write byte array.

##### Declaration

    void WriteByteArray(byte[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Byte[] | val | Byte array.

#### WriteChar(Char)

Write char value.

##### Declaration

    void WriteChar(char val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Char | val | Char value.

#### WriteCharArray(Char[])

Write char array.

##### Declaration

    void WriteCharArray(char[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Char[] | val | Char array.

#### WriteCollection(ICollection)

Writes a collection in interoperable form.

Use this method to communicate with other platforms or with nodes that need to read collection elements in binary form.

When there is no need for binarization or interoperability, please use WriteObject<T>(T), which will properly preserve generic collection type.

##### Declaration

    void WriteCollection(ICollection val)

##### Parameters

Type | Name | Description
--- | --- | ---
ICollection | val | Collection.

#### WriteDecimal(Nullable<Decimal>)

Write decimal value.

##### Declaration

    void WriteDecimal(decimal? val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<System.Decimal> | val | Decimal value.

#### WriteDecimalArray(Nullable<Decimal>[])

Write decimal array.

##### Declaration

    void WriteDecimalArray(decimal? [] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<System.Decimal>[] | val | Decimal array.

#### WriteDictionary(IDictionary)

Writes a dictionary in interoperable form.

Use this method to communicate with other platforms or with nodes that need to read dictionary elements in binary form.

When there is no need for binarization or interoperability, please use WriteObject<T>(T), which will properly preserve generic dictionary type.

##### Declaration

    void WriteDictionary(IDictionary val)

##### Parameters

Type | Name | Description
--- | --- | ---
IDictionary | val | Dictionary.

#### WriteDouble(Double)

Write double value.

##### Declaration

    void WriteDouble(double val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Double | val | Double value.

#### WriteDoubleArray(Double[])

Write double array.

##### Declaration

    void WriteDoubleArray(double[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Double[] | val | Double array.

#### WriteEnum<T>(T)

Write enum value.

##### Declaration

    void WriteEnum<T>(T val)

##### Parameters

Type | Name | Description
--- | --- | ---
T | val | Enum value.

##### Type Parameters

Name | Description
--- | ---
T |

#### WriteEnumArray<T>(T[])

Write enum array.

##### Declaration

    void WriteEnumArray<T>(T[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
T[] | val | Enum array.

##### Type Parameters

Name | Description
--- | ---
T |

#### WriteFloat(Single)

Write float value.

##### Declaration

    void WriteFloat(float val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Single | val | Float value.

#### WriteFloatArray(Single[])

Write float array.

##### Declaration

    void WriteFloatArray(float[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Single[] | val | Float array.

#### WriteGuid(Nullable<Guid>)

Write GUID value.

##### Declaration

    void WriteGuid(Guid? val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<Guid> | val | GUID value.

#### WriteGuidArray(Nullable<Guid>[])

Write GUID array.

##### Declaration

    void WriteGuidArray(Guid? [] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<Guid>[] | val | GUID array.

#### WriteInt(Int32)

Write int value.

##### Declaration

    void WriteInt(int val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int32 | val | Int value.

#### WriteIntArray(Int32[])

Write int array.

##### Declaration

    void WriteIntArray(int[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int32[] | val | Int array.

#### WriteLong(Int64)

Write long value.

##### Declaration

    void WriteLong(long val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int64 | val | Long value.

#### WriteLongArray(Int64[])

Write long array.

##### Declaration

    void WriteLongArray(long[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int64[] | val | Long array.

#### WriteObject<T>(T)

Write object value.

##### Declaration

    void WriteObject<T>(T val)

##### Parameters

Type | Name | Description
--- | --- | ---
T | val | Object value.

##### Type Parameters

Name | Description
--- | ---
T |

#### WriteShort(Int16)

Write short value.

##### Declaration

    void WriteShort(short val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int16 | val | Short value.

#### WriteShortArray(Int16[])

Write short array.

##### Declaration

    void WriteShortArray(short[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int16[] | val | Short array.

#### WriteString(String)

Write string value.

##### Declaration

    void WriteString(string val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | val | String value.

#### WriteStringArray(String[])

Write string array.

##### Declaration

    void WriteStringArray(string[] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String[] | val | String array.

#### WriteTimestamp(Nullable<DateTime>)

Write date value.

##### Declaration

    void WriteTimestamp(DateTime? val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<DateTime> | val | Date value.

#### WriteTimestampArray(Nullable<DateTime>[])

Write date array.

##### Declaration

    void WriteTimestampArray(DateTime? [] val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Nullable<DateTime>[] | val | Date array.