C# Class DotAmf.Encoder.AmfPacketEncoder

AMF packet writer.
Exibir arquivo Open project: artema/DotAmf Class Usage Examples

Public Methods

Method Description
AmfPacketEncoder ( AmfEncodingOptions options ) : System

Constructor.

Encode ( Stream stream, XmlReader input ) : void

Encode an AMF packet from an AMFX format.

Private Methods

Method Description
CreateEncoder ( AmfEncodingOptions options ) : IAmfEncoder

Create an AMF encoder.

WriteAmfVersion ( AmfStreamWriter writer, AmfVersion version ) : void

Write AMF message version.

WriteHeaderCount ( AmfStreamWriter writer, int count ) : void

Write AMF message headers count.

WriteMessageCount ( AmfStreamWriter writer, int count ) : void

Write AMF message bodies count.

Method Details

AmfPacketEncoder() public method

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

Encode() public method

Encode an AMF packet from an AMFX format.
Error during encoding.
public Encode ( Stream stream, XmlReader input ) : void
stream Stream
input XmlReader
return void