AMF message encoder/decoder.
The encoder is the component that is used to write messages to a stream and to read messages from a stream.
Наследование: MessageEncoder
Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AmfEncoderFactory"/> class.
 ///     Constructor.
 /// </summary>
 /// <param name="encodingOptions">
 /// AMF encoding options.
 /// </param>
 public AmfEncoderFactory(AmfEncodingOptions encodingOptions)
 {
     // Create an encoder instance for future use
     this._encoder = new AmfEncoder(encodingOptions);
 }
Пример #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="encodingOptions">AMF encoding options.</param>
 public AmfEncoderFactory(AmfEncodingOptions encodingOptions)
 {
     //Create an encoder instance for future use
     _encoder = new AmfEncoder(encodingOptions);
 }