C# Class DotAmf.Decoder.AmfPacketDecoder

AMF packet decoder.
Mostrar archivo Open project: artema/DotAmf Class Usage Examples

Public Methods

Method Description
AmfPacketDecoder ( AmfEncodingOptions options ) : System

Constructor.

Decode ( Stream stream, XmlWriter output ) : void

Decode an AMF packet into an AMFX format.

Private Methods

Method Description
CreateDecoder ( AmfVersion version, AmfEncodingOptions options ) : IAmfDecoder

Create AMF decoder.

ReadDataCount ( AmfStreamReader reader ) : uint

Read number of following headers/messages.

ReadPacketVersion ( AmfStreamReader reader ) : AmfVersion

Read AMF packet version.

Method Details

AmfPacketDecoder() public method

Constructor.
public AmfPacketDecoder ( AmfEncodingOptions options ) : System
options DotAmf.Data.AmfEncodingOptions Encoding options.
return System

Decode() public method

Decode an AMF packet into an AMFX format.
Error during decoding.
public Decode ( Stream stream, XmlWriter output ) : void
stream Stream
output System.Xml.XmlWriter
return void