C# Class Deveel.Data.Serialization.BinarySerializer

Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Méthodes publiques

Méthode Description
BinarySerializer ( ) : System
Deserialize ( BinaryReader reader ) : object
Deserialize ( Stream stream ) : object
Serialize ( BinaryWriter writer, object obj ) : void
Serialize ( Stream stream, object obj ) : void

Private Methods

Méthode Description
CustomDeserialize ( BinaryReader reader, Type graphType ) : object
DeserializeType ( BinaryReader reader, Type graphType ) : object
GetObjectValues ( Type objType, object obj, SerializationInfo graph ) : void
GetSpecialConstructor ( Type type ) : ConstructorInfo
GetTypeCode ( Type type ) : byte?
ReadArray ( BinaryReader reader, Encoding encoding ) : Array
ReadObject ( BinaryReader reader, Encoding encoding ) : object
ReadType ( BinaryReader reader ) : Type
ReadValue ( BinaryReader reader, Encoding encoding ) : object
ReadValues ( BinaryReader reader, Encoding encoding, object>.IDictionary values ) : void
SerializeGraph ( BinaryWriter writer, Encoding encoding, Type graphType, SerializationInfo graph ) : void
SerializeValue ( BinaryWriter writer, Encoding encoding, Type type, object value ) : void
WriteValueHead ( BinaryWriter writer, byte typeCode, Type type, object value ) : void

Method Details

BinarySerializer() public méthode

public BinarySerializer ( ) : System
Résultat System

Deserialize() public méthode

public Deserialize ( BinaryReader reader ) : object
reader System.IO.BinaryReader
Résultat object

Deserialize() public méthode

public Deserialize ( Stream stream ) : object
stream Stream
Résultat object

Serialize() public méthode

public Serialize ( BinaryWriter writer, object obj ) : void
writer BinaryWriter
obj object
Résultat void

Serialize() public méthode

public Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
Résultat void