C# Class DotAmf.Decoder.AbstractAmfDecoder

Abstract AMF decoder.
Inheritance: IAmfDecoder
Afficher le fichier Open project: artema/DotAmf

Méthodes publiques

Méthode Description
Decode ( Stream stream, XmlWriter output ) : void
ReadPacketBody ( Stream stream ) : AmfMessageDescriptor
ReadPacketHeader ( Stream stream ) : AmfHeaderDescriptor

Méthodes protégées

Méthode Description
AbstractAmfDecoder ( AmfEncodingOptions decodingOptions ) : System

Constructor.

CreateDefaultContext ( ) : AmfContext

Create default AMF decoding context.

ReadAmfValue ( AmfContext context, AmfStreamReader reader, XmlWriter output = null ) : void

Read AMF value from the current position.

Method Details

AbstractAmfDecoder() protected méthode

Constructor.
protected AbstractAmfDecoder ( AmfEncodingOptions decodingOptions ) : System
decodingOptions DotAmf.Data.AmfEncodingOptions AMF decoding options.
Résultat System

CreateDefaultContext() protected méthode

Create default AMF decoding context.
protected CreateDefaultContext ( ) : AmfContext
Résultat DotAmf.Data.AmfContext

Decode() public abstract méthode

public abstract Decode ( Stream stream, XmlWriter output ) : void
stream Stream
output System.Xml.XmlWriter
Résultat void

ReadAmfValue() protected abstract méthode

Read AMF value from the current position.
AMF type is not supported. Invalid data format. Error during deserialization.
protected abstract ReadAmfValue ( AmfContext context, AmfStreamReader reader, XmlWriter output = null ) : void
context DotAmf.Data.AmfContext AMF context.
reader DotAmf.IO.AmfStreamReader AMF stream reader.
output System.Xml.XmlWriter AMFX output writer.
Résultat void

ReadPacketBody() public abstract méthode

public abstract ReadPacketBody ( Stream stream ) : AmfMessageDescriptor
stream Stream
Résultat DotAmf.Data.AmfMessageDescriptor

ReadPacketHeader() public abstract méthode

public abstract ReadPacketHeader ( Stream stream ) : AmfHeaderDescriptor
stream Stream
Résultat DotAmf.Data.AmfHeaderDescriptor