Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C#

A Fast/Compact Serialization Framework

Rate me:
Please Sign up or sign in to vote.
4.85/5 (37 votes)
13 Oct 2010GPL35 min read 281.9K   1.2K   175  
A framework for object serializiation/deserialization that is many times faster and yields a compact output.
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>NeXtreme.OpenNxSerialization.IO</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">OpenNxSerialization API Reference</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">NeXtreme.OpenNxSerialization.IO Namespace</h1>
      </div>
    </div>
    <div id="nstext">
      <p>
        <a href="NeXtreme.OpenNxSerialization.IOHierarchy.html">Namespace hierarchy</a>
      </p>
      <h3 class="dtH3">Classes</h3>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr valign="top">
            <th width="50%">Class</th>
            <th width="50%">Description</th>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="NeXtreme.OpenNxSerialization.IO.NxBinaryReader.html">NxBinaryReader</a>
            </td>
            <td width="50%"> This class encapsulates a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOBinaryReaderClassTopic.asp">BinaryReader</a> object. It also provides an extra Read method for <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a> types. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="NeXtreme.OpenNxSerialization.IO.NxBinaryWriter.html">NxBinaryWriter</a>
            </td>
            <td width="50%"> This class encapsulates a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOBinaryWriterClassTopic.asp">BinaryWriter</a> object. It also provides an extra Write method for <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemObjectClassTopic.asp">Object</a> types. </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="NeXtreme.OpenNxSerialization.IO.NxSerializationContext.html">NxSerializationContext</a>
            </td>
            <td width="50%"> A class that maintains serialization/deserialization context. This is used to resolve circular and shared references. </td>
          </tr>
        </table>
      </div>
      <h3 class="dtH3">Interfaces</h3>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
          <tr valign="top">
            <th width="50%">Interface</th>
            <th width="50%">Description</th>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="NeXtreme.OpenNxSerialization.IO.INxBinaryReader.html">INxBinaryReader</a>
            </td>
            <td width="50%"> Provides functionality for reading serialized objects </td>
          </tr>
          <tr valign="top">
            <td width="50%">
              <a href="NeXtreme.OpenNxSerialization.IO.INxBinaryWriter.html">INxBinaryWriter</a>
            </td>
            <td width="50%"> Provides functionality for writing serialized objects </td>
          </tr>
        </table>
      </div>
      <hr />
      <div id="footer">
        <p>
          <a>Copyright (C) 2006 - 2008, NeXtreme Innovations. All rights reserved.</a>
        </p>
        <p>
        </p>
      </div>
    </div>
  </body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Architect
Pakistan Pakistan
Let a = b ....... (1)
a - b = a - b
a^2 - ab = a^2 - ab
a^2 - ab = a^2 - b^2 (from 1)
a (a - b) = (a + b) (a - b)
a = (a + b) ...... (2)

if a = 1
1 = (1 + 1) (from 1 & 2)
1 = 2 !!

Comments and Discussions