Show / Hide Table of Contents

Interface ISerializer

Namespace: Eco.Core.Serialization.Serializers
Assembly: Eco.Core.dll
Syntax
public interface ISerializer

Properties

ID

Declaration
ref int ID { get; }
Property Value
Type Description
System.Int32

SchemaType

Declaration
string SchemaType { get; }
Property Value
Type Description
System.String

Type

Declaration
Type Type { get; }
Property Value
Type Description
System.Type

Methods

Decode(BinaryReader)

Declaration
object Decode(BinaryReader reader)
Parameters
Type Name Description
System.IO.BinaryReader reader
Returns
Type Description
System.Object

DecodeToArray(BinaryReader, Array, Int32)

Declaration
void DecodeToArray(BinaryReader reader, Array array, int index)
Parameters
Type Name Description
System.IO.BinaryReader reader
System.Array array
System.Int32 index

DecodeToMember(BinaryReader, Object, MemberInfo)

Declaration
void DecodeToMember(BinaryReader reader, object instance, MemberInfo memberInfo)
Parameters
Type Name Description
System.IO.BinaryReader reader
System.Object instance
MemberInfo memberInfo

Encode(BinaryWriter, Object, SerializeFlags)

Declaration
void Encode(BinaryWriter writer, object instance, SerializeFlags flags)
Parameters
Type Name Description
System.IO.BinaryWriter writer
System.Object instance
SerializeFlags flags

Skip(BinaryReader)

Declaration
void Skip(BinaryReader reader)
Parameters
Type Name Description
System.IO.BinaryReader reader

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾