C# Class CSharpRTMP.Core.Protocols.Rtmp.RTMPProtocolSerializer

Exibir arquivo Open project: langhuihui/csharprtmp

Public Properties

Property Type Description
InternalBuffer System.IO.MemoryStream

Public Methods

Method Description
Deserialize ( int msgType, AMF0Reader _amf0 ) : Variant
GetSOPrimitiveString ( byte type ) : string
GetUserCtrlTypeString ( ushort type ) : string
RTMPProtocolSerializer ( ) : System
Serialize ( AmfMessage &message ) : bool
Serialize ( Channel channel, AmfMessage message, Stream stream, uint chuckSize ) : bool

Method Details

Deserialize() public method

public Deserialize ( int msgType, AMF0Reader _amf0 ) : Variant
msgType int
_amf0 AMF0Reader
return Variant

GetSOPrimitiveString() public static method

public static GetSOPrimitiveString ( byte type ) : string
type byte
return string

GetUserCtrlTypeString() public static method

public static GetUserCtrlTypeString ( ushort type ) : string
type ushort
return string

RTMPProtocolSerializer() public method

public RTMPProtocolSerializer ( ) : System
return System

Serialize() public method

public Serialize ( AmfMessage &message ) : bool
message AmfMessage
return bool

Serialize() public method

public Serialize ( Channel channel, AmfMessage message, Stream stream, uint chuckSize ) : bool
channel Channel
message AmfMessage
stream Stream
chuckSize uint
return bool

Property Details

InternalBuffer public_oe property

public MemoryStream,System.IO InternalBuffer
return System.IO.MemoryStream