Version 2.1.0.0

SerializationNodeDataWriter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class SerializationNodeDataWriter : BaseDataWriter, IDataWriter, IDisposable
Not yet documented.
Inheritance

Constructors

SerializationNodeDataWriter(SerializationContext)
Not yet documented.
public SerializationNodeDataWriter(SerializationContext context)
Parameters
SerializationContext context

Properties

Nodes
Not yet documented.
public List<SerializationNode> Nodes { get; set; }
Stream
Not yet documented.
public override Stream Stream { get; set; }

Methods

BeginArrayNode(Int64)
Begins an array node of the given length.
public override void BeginArrayNode(long length)
Parameters
System.Int64 length

The length of the array to come.

Exceptions
System.NotImplementedException

BeginReferenceNode(String, Type, Int32)
Not yet documented.
public override void BeginReferenceNode(string name, Type type, int id)
Parameters
System.String name

System.Type type

System.Int32 id

BeginStructNode(String, Type)
Not yet documented.
public override void BeginStructNode(string name, Type type)
Parameters
System.String name

System.Type type

Dispose()
Not yet documented.
public override void Dispose()
EndArrayNode()
Not yet documented.
public override void EndArrayNode()
EndNode(String)
Not yet documented.
public override void EndNode(string name)
Parameters
System.String name

FlushToStream()
Not yet documented.
public override void FlushToStream()
GetDataDump()
public override string GetDataDump()
Returns
System.String

PrepareNewSerializationSession()
Not yet documented.
public override void PrepareNewSerializationSession()
WriteBoolean(String, Boolean)
Not yet documented.
public override void WriteBoolean(string name, bool value)
Parameters
System.String name

System.Boolean value

WriteByte(String, Byte)
Not yet documented.
public override void WriteByte(string name, byte value)
Parameters
System.String name

System.Byte value

WriteChar(String, Char)
Not yet documented.
public override void WriteChar(string name, char value)
Parameters
System.String name

System.Char value

WriteDecimal(String, Decimal)
Not yet documented.
public override void WriteDecimal(string name, decimal value)
Parameters
System.String name

System.Decimal value

WriteDouble(String, Double)
Not yet documented.
public override void WriteDouble(string name, double value)
Parameters
System.String name

System.Double value

WriteExternalReference(String, Guid)
Not yet documented.
public override void WriteExternalReference(string name, Guid guid)
Parameters
System.String name

System.Guid guid

WriteExternalReference(String, Int32)
Not yet documented.
public override void WriteExternalReference(string name, int index)
Parameters
System.String name

System.Int32 index

WriteExternalReference(String, String)
Not yet documented.
public override void WriteExternalReference(string name, string id)
Parameters
System.String name

System.String id

WriteGuid(String, Guid)
Not yet documented.
public override void WriteGuid(string name, Guid value)
Parameters
System.String name

System.Guid value

WriteInt16(String, Int16)
Not yet documented.
public override void WriteInt16(string name, short value)
Parameters
System.String name

System.Int16 value

WriteInt32(String, Int32)
Not yet documented.
public override void WriteInt32(string name, int value)
Parameters
System.String name

System.Int32 value

WriteInt64(String, Int64)
Not yet documented.
public override void WriteInt64(string name, long value)
Parameters
System.String name

System.Int64 value

WriteInternalReference(String, Int32)
Not yet documented.
public override void WriteInternalReference(string name, int id)
Parameters
System.String name

System.Int32 id

WriteNull(String)
Not yet documented.
public override void WriteNull(string name)
Parameters
System.String name

WritePrimitiveArray<T>(T[])
Not yet documented.
public override void WritePrimitiveArray<T>(T[] array)
    where T : struct
Parameters
T[] array

Type Parameters
T

WriteSByte(String, SByte)
Not yet documented.
public override void WriteSByte(string name, sbyte value)
Parameters
System.String name

System.SByte value

WriteSingle(String, Single)
Not yet documented.
public override void WriteSingle(string name, float value)
Parameters
System.String name

System.Single value

WriteString(String, String)
Not yet documented.
public override void WriteString(string name, string value)
Parameters
System.String name

System.String value

WriteUInt16(String, UInt16)
Not yet documented.
public override void WriteUInt16(string name, ushort value)
Parameters
System.String name

System.UInt16 value

WriteUInt32(String, UInt32)
Not yet documented.
public override void WriteUInt32(string name, uint value)
Parameters
System.String name

System.UInt32 value

WriteUInt64(String, UInt64)
Not yet documented.
public override void WriteUInt64(string name, ulong value)
Parameters
System.String name

System.UInt64 value

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.