C# Class DotAmf.Encoder.Amf3Encoder

AMF3 encoder.
Inheritance: Amf0Encoder
显示文件 Open project: artema/DotAmf

Public Methods

Method Description
Amf3Encoder ( AmfEncodingOptions encodingOptions ) : System
Encode ( Stream stream, XmlReader input ) : void

Protected Methods

Method Description
WriteAmfValue ( AmfContext context, XmlReader input, AmfStreamWriter writer ) : void

Private Methods

Method Description
WriteArray ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write an array.

WriteByteArray ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write a byte array.

WriteDate ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write a date.

WriteDouble ( AmfStreamWriter writer, XmlReader input ) : void

Write a double.

WriteInteger ( AmfStreamWriter writer, XmlReader input ) : void

Write an integer.

WriteObject ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write an object.

WriteReference ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write an integer.

WriteReference ( AmfStreamWriter writer, int reference ) : void

Write a reference.

WriteString ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write a string.

WriteTypeMarker ( AmfStreamWriter writer, Amf3TypeMarker marker ) : void

Write an AMF0 type marker.

WriteUInt29 ( AmfStreamWriter writer, int value ) : void

Write an 29-bit unsigned integer.

WriteUtf8 ( AmfContext context, AmfStreamWriter writer, string value ) : void

Write UTF-8 string.

WriteUtf8 ( AmfStreamWriter writer, byte data ) : void

Write UTF-8 data.

WriteXml ( AmfContext context, AmfStreamWriter writer, XmlReader input ) : void

Write an XML.

Method Details

Amf3Encoder() public method

public Amf3Encoder ( AmfEncodingOptions encodingOptions ) : System
encodingOptions DotAmf.Data.AmfEncodingOptions
return System

Encode() public method

public Encode ( Stream stream, XmlReader input ) : void
stream Stream
input XmlReader
return void

WriteAmfValue() protected method

protected WriteAmfValue ( AmfContext context, XmlReader input, AmfStreamWriter writer ) : void
context DotAmf.Data.AmfContext
input XmlReader
writer AmfStreamWriter
return void