C# Class MessagePack.Formatters.CollectionFormatterBase

Inheritance: IMessagePackFormatter
Mostra file Open project: tana/Mondeto

Public Methods

Method Description
Deserialize ( Array bytes, int offset, IFormatterResolver formatterResolver, int &readSize ) : TCollection
Serialize ( Array &bytes, int offset, value, IFormatterResolver formatterResolver ) : int

Protected Methods

Method Description
Add ( collection, int index, value ) : void
Complete ( intermediateCollection ) : TCollection
Create ( int count ) : TIntermediate
GetCount ( sequence ) : int?
GetSourceEnumerator ( source ) : TEnumerator

Method Details

Add() protected abstract method

protected abstract Add ( collection, int index, value ) : void
index int
return void

Complete() protected abstract method

protected abstract Complete ( intermediateCollection ) : TCollection
return TCollection

Create() protected abstract method

protected abstract Create ( int count ) : TIntermediate
count int
return TIntermediate

Deserialize() public method

public Deserialize ( Array bytes, int offset, IFormatterResolver formatterResolver, int &readSize ) : TCollection
bytes Array
offset int
formatterResolver IFormatterResolver
readSize int
return TCollection

GetCount() protected method

protected GetCount ( sequence ) : int?
return int?

GetSourceEnumerator() protected abstract method

protected abstract GetSourceEnumerator ( source ) : TEnumerator
return TEnumerator

Serialize() public method

public Serialize ( Array &bytes, int offset, value, IFormatterResolver formatterResolver ) : int
bytes Array
offset int
formatterResolver IFormatterResolver
return int