blob: c9f2cf284d712fb0ecdd18e813b4896a620f96cb [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Interface IBinaryWriter
| Apache Ignite.NET </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Interface IBinaryWriter
| Apache Ignite.NET ">
<meta name="generator" content="docfx 2.58.4.0">
<link rel="shortcut icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../images/logo_ignite_32_32.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter">
<h1 id="Apache_Ignite_Core_Binary_IBinaryWriter" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter" class="text-break">Interface IBinaryWriter
</h1>
<div class="markdown level0 summary"><p>Writer for binary objects. </p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="Apache.Ignite.Core.Binary.html">Apache.Ignite.Core.Binary</a></h6>
<h6><strong>Assembly</strong>: Apache.Ignite.Core.dll</h6>
<h5 id="Apache_Ignite_Core_Binary_IBinaryWriter_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public interface IBinaryWriter</code></pre>
</div>
<h3 id="methods">Methods
</h3>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_GetRawWriter_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.GetRawWriter*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_GetRawWriter" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.GetRawWriter">GetRawWriter()</h4>
<div class="markdown level1 summary"><p>Get raw writer. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IBinaryRawWriter GetRawWriter()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Apache.Ignite.Core.Binary.IBinaryRawWriter.html">IBinaryRawWriter</a></td>
<td><p>Raw writer.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteArray__1_System_String___0___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteArray``1(System.String,``0[])">WriteArray&lt;T&gt;(String, T[])</h4>
<div class="markdown level1 summary"><p>Write named object array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteArray&lt;T&gt;(string fieldName, T[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td>T[]</td>
<td><span class="parametername">val</span></td>
<td><p>Object array.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteBoolean_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteBoolean*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteBoolean_System_String_System_Boolean_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteBoolean(System.String,System.Boolean)">WriteBoolean(String, Boolean)</h4>
<div class="markdown level1 summary"><p>Write named boolean value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteBoolean(string fieldName, bool val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">val</span></td>
<td><p>Boolean value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteBooleanArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteBooleanArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteBooleanArray_System_String_System_Boolean___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteBooleanArray(System.String,System.Boolean[])">WriteBooleanArray(String, Boolean[])</h4>
<div class="markdown level1 summary"><p>Write named boolean array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteBooleanArray(string fieldName, bool[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Boolean array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteByte_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteByte*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteByte_System_String_System_Byte_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteByte(System.String,System.Byte)">WriteByte(String, Byte)</h4>
<div class="markdown level1 summary"><p>Write named byte value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteByte(string fieldName, byte val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Byte</span></td>
<td><span class="parametername">val</span></td>
<td><p>Byte value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteByteArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteByteArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteByteArray_System_String_System_Byte___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteByteArray(System.String,System.Byte[])">WriteByteArray(String, Byte[])</h4>
<div class="markdown level1 summary"><p>Write named byte array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteByteArray(string fieldName, byte[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Byte</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Byte array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteChar_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteChar*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteChar_System_String_System_Char_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteChar(System.String,System.Char)">WriteChar(String, Char)</h4>
<div class="markdown level1 summary"><p>Write named char value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteChar(string fieldName, char val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Char</span></td>
<td><span class="parametername">val</span></td>
<td><p>Char value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteCharArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteCharArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteCharArray_System_String_System_Char___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteCharArray(System.String,System.Char[])">WriteCharArray(String, Char[])</h4>
<div class="markdown level1 summary"><p>Write named char array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteCharArray(string fieldName, char[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Char</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Char array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteCollection_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteCollection*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteCollection_System_String_ICollection_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteCollection(System.String,ICollection)">WriteCollection(String, ICollection)</h4>
<div class="markdown level1 summary"><p>Writes a named collection in interoperable form.</p>
<p>Use this method to communicate with other platforms
or with nodes that need to read collection elements in binary form.</p>
<p>When there is no need for binarization or interoperability, please use <a class="xref" href="Apache.Ignite.Core.Binary.IBinaryWriter.html#Apache_Ignite_Core_Binary_IBinaryWriter_WriteObject__1_System_String___0_">WriteObject&lt;T&gt;(String, T)</a>,
which will properly preserve generic collection type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteCollection(string fieldName, ICollection val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">ICollection</span></td>
<td><span class="parametername">val</span></td>
<td><p>Collection.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDecimal_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDecimal*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDecimal_System_String_System_Nullable_System_Decimal__" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDecimal(System.String,System.Nullable{System.Decimal})">WriteDecimal(String, Nullable&lt;Decimal&gt;)</h4>
<div class="markdown level1 summary"><p>Write named decimal value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteDecimal(string fieldName, decimal? val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;</td>
<td><span class="parametername">val</span></td>
<td><p>Decimal value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDecimalArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDecimalArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDecimalArray_System_String_System_Nullable_System_Decimal____" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDecimalArray(System.String,System.Nullable{System.Decimal}[])">WriteDecimalArray(String, Nullable&lt;Decimal&gt;[])</h4>
<div class="markdown level1 summary"><p>Write named decimal array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteDecimalArray(string fieldName, decimal? [] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Decimal</span>&gt;[]</td>
<td><span class="parametername">val</span></td>
<td><p>Decimal array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDictionary_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDictionary*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDictionary_System_String_IDictionary_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDictionary(System.String,IDictionary)">WriteDictionary(String, IDictionary)</h4>
<div class="markdown level1 summary"><p>Writes a named dictionary in interoperable form.</p>
<p>Use this method to communicate with other platforms
or with nodes that need to read dictionary elements in binary form.</p>
<p>When there is no need for binarization or interoperability, please use <a class="xref" href="Apache.Ignite.Core.Binary.IBinaryWriter.html#Apache_Ignite_Core_Binary_IBinaryWriter_WriteObject__1_System_String___0_">WriteObject&lt;T&gt;(String, T)</a>,
which will properly preserve generic dictionary type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteDictionary(string fieldName, IDictionary val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">IDictionary</span></td>
<td><span class="parametername">val</span></td>
<td><p>Dictionary.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDouble_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDouble*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDouble_System_String_System_Double_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDouble(System.String,System.Double)">WriteDouble(String, Double)</h4>
<div class="markdown level1 summary"><p>Write named double value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteDouble(string fieldName, double val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Double</span></td>
<td><span class="parametername">val</span></td>
<td><p>Double value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDoubleArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDoubleArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteDoubleArray_System_String_System_Double___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteDoubleArray(System.String,System.Double[])">WriteDoubleArray(String, Double[])</h4>
<div class="markdown level1 summary"><p>Write named double array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteDoubleArray(string fieldName, double[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Double</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Double array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteEnum_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteEnum*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteEnum__1_System_String___0_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteEnum``1(System.String,``0)">WriteEnum&lt;T&gt;(String, T)</h4>
<div class="markdown level1 summary"><p>Write named enum value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteEnum&lt;T&gt;(string fieldName, T val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">val</span></td>
<td><p>Enum value.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteEnumArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteEnumArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteEnumArray__1_System_String___0___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteEnumArray``1(System.String,``0[])">WriteEnumArray&lt;T&gt;(String, T[])</h4>
<div class="markdown level1 summary"><p>Write named enum array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteEnumArray&lt;T&gt;(string fieldName, T[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td>T[]</td>
<td><span class="parametername">val</span></td>
<td><p>Enum array.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteFloat_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteFloat*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteFloat_System_String_System_Single_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteFloat(System.String,System.Single)">WriteFloat(String, Single)</h4>
<div class="markdown level1 summary"><p>Write named float value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteFloat(string fieldName, float val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">val</span></td>
<td><p>Float value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteFloatArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteFloatArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteFloatArray_System_String_System_Single___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteFloatArray(System.String,System.Single[])">WriteFloatArray(String, Single[])</h4>
<div class="markdown level1 summary"><p>Write named float array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteFloatArray(string fieldName, float[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Float array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteGuid_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteGuid*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteGuid_System_String_System_Nullable_Guid__" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteGuid(System.String,System.Nullable{Guid})">WriteGuid(String, Nullable&lt;Guid&gt;)</h4>
<div class="markdown level1 summary"><p>Write named GUID value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteGuid(string fieldName, Guid? val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">Guid</span>&gt;</td>
<td><span class="parametername">val</span></td>
<td><p>GUID value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteGuidArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteGuidArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteGuidArray_System_String_System_Nullable_Guid____" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteGuidArray(System.String,System.Nullable{Guid}[])">WriteGuidArray(String, Nullable&lt;Guid&gt;[])</h4>
<div class="markdown level1 summary"><p>Write named GUID array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteGuidArray(string fieldName, Guid? [] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">Guid</span>&gt;[]</td>
<td><span class="parametername">val</span></td>
<td><p>GUID array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteInt_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteInt*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteInt_System_String_System_Int32_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteInt(System.String,System.Int32)">WriteInt(String, Int32)</h4>
<div class="markdown level1 summary"><p>Write named int value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteInt(string fieldName, int val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">val</span></td>
<td><p>Int value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteIntArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteIntArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteIntArray_System_String_System_Int32___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteIntArray(System.String,System.Int32[])">WriteIntArray(String, Int32[])</h4>
<div class="markdown level1 summary"><p>Write named int array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteIntArray(string fieldName, int[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Int array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteLong_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteLong*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteLong_System_String_System_Int64_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteLong(System.String,System.Int64)">WriteLong(String, Int64)</h4>
<div class="markdown level1 summary"><p>Write named long value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteLong(string fieldName, long val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int64</span></td>
<td><span class="parametername">val</span></td>
<td><p>Long value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteLongArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteLongArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteLongArray_System_String_System_Int64___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteLongArray(System.String,System.Int64[])">WriteLongArray(String, Int64[])</h4>
<div class="markdown level1 summary"><p>Write named long array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteLongArray(string fieldName, long[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int64</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Long array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteObject_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteObject*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteObject__1_System_String___0_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteObject``1(System.String,``0)">WriteObject&lt;T&gt;(String, T)</h4>
<div class="markdown level1 summary"><p>Write named object value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteObject&lt;T&gt;(string fieldName, T val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">val</span></td>
<td><p>Object value.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteShort_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteShort*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteShort_System_String_System_Int16_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteShort(System.String,System.Int16)">WriteShort(String, Int16)</h4>
<div class="markdown level1 summary"><p>Write named short value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteShort(string fieldName, short val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int16</span></td>
<td><span class="parametername">val</span></td>
<td><p>Short value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteShortArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteShortArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteShortArray_System_String_System_Int16___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteShortArray(System.String,System.Int16[])">WriteShortArray(String, Int16[])</h4>
<div class="markdown level1 summary"><p>Write named short array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteShortArray(string fieldName, short[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int16</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>Short array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteString_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteString*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteString_System_String_System_String_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteString(System.String,System.String)">WriteString(String, String)</h4>
<div class="markdown level1 summary"><p>Write named string value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteString(string fieldName, string val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">val</span></td>
<td><p>String value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteStringArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteStringArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteStringArray_System_String_System_String___" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteStringArray(System.String,System.String[])">WriteStringArray(String, String[])</h4>
<div class="markdown level1 summary"><p>Write named string array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteStringArray(string fieldName, string[] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span>[]</td>
<td><span class="parametername">val</span></td>
<td><p>String array.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteTimestamp_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteTimestamp*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteTimestamp_System_String_System_Nullable_DateTime__" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteTimestamp(System.String,System.Nullable{DateTime})">WriteTimestamp(String, Nullable&lt;DateTime&gt;)</h4>
<div class="markdown level1 summary"><p>Write named date value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteTimestamp(string fieldName, DateTime? val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">DateTime</span>&gt;</td>
<td><span class="parametername">val</span></td>
<td><p>Date value.</p>
</td>
</tr>
</tbody>
</table>
<a id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteTimestampArray_" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteTimestampArray*"></a>
<h4 id="Apache_Ignite_Core_Binary_IBinaryWriter_WriteTimestampArray_System_String_System_Nullable_DateTime____" data-uid="Apache.Ignite.Core.Binary.IBinaryWriter.WriteTimestampArray(System.String,System.Nullable{DateTime}[])">WriteTimestampArray(String, Nullable&lt;DateTime&gt;[])</h4>
<div class="markdown level1 summary"><p>Write named date array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void WriteTimestampArray(string fieldName, DateTime? [] val)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>Field name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">DateTime</span>&gt;[]</td>
<td><span class="parametername">val</span></td>
<td><p>Date array.</p>
</td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
© 2015 - 2019 The Apache Software Foundation
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>