C# Class Wire.ValueSerializers.FromSurrogateSerializer

Inheritance: ValueSerializer
Mostrar archivo Open project: akkadotnet/Wire Class Usage Examples

Public Methods

Method Description
FromSurrogateSerializer ( object>.Func translator, ValueSerializer surrogateSerializer ) : System
GetElementType ( ) : Type
ReadValue ( Stream stream, DeserializerSession session ) : object
WriteManifest ( Stream stream, SerializerSession session ) : void
WriteValue ( Stream stream, object value, SerializerSession session ) : void

Method Details

FromSurrogateSerializer() public method

public FromSurrogateSerializer ( object>.Func translator, ValueSerializer surrogateSerializer ) : System
translator object>.Func
surrogateSerializer ValueSerializer
return System

GetElementType() public method

public GetElementType ( ) : Type
return System.Type

ReadValue() public method

public ReadValue ( Stream stream, DeserializerSession session ) : object
stream Stream
session DeserializerSession
return object

WriteManifest() public method

public WriteManifest ( Stream stream, SerializerSession session ) : void
stream Stream
session SerializerSession
return void

WriteValue() public method

public WriteValue ( Stream stream, object value, SerializerSession session ) : void
stream Stream
value object
session SerializerSession
return void