C# Class Wire.SerializerSession

显示文件 Open project: akkadotnet/Wire Class Usage Examples

Public Properties

Property Type Description
Serializer Serializer

Public Methods

Method Description
GetBuffer ( int length ) : byte[]
SerializerSession ( Serializer serializer ) : System
ShouldWriteTypeManifest ( Type type, ushort &index ) : bool
TrackSerializedObject ( object obj ) : void
TrackSerializedType ( Type type ) : void
TryGetObjectId ( object obj, int &objectId ) : bool
TryGetValue ( Type key, ushort &value ) : bool

Method Details

GetBuffer() public method

public GetBuffer ( int length ) : byte[]
length int
return byte[]

SerializerSession() public method

public SerializerSession ( Serializer serializer ) : System
serializer Serializer
return System

ShouldWriteTypeManifest() public method

public ShouldWriteTypeManifest ( Type type, ushort &index ) : bool
type System.Type
index ushort
return bool

TrackSerializedObject() public method

public TrackSerializedObject ( object obj ) : void
obj object
return void

TrackSerializedType() public method

public TrackSerializedType ( Type type ) : void
type System.Type
return void

TryGetObjectId() public method

public TryGetObjectId ( object obj, int &objectId ) : bool
obj object
objectId int
return bool

TryGetValue() public method

public TryGetValue ( Type key, ushort &value ) : bool
key System.Type
value ushort
return bool

Property Details

Serializer public_oe property

public Serializer Serializer
return Serializer