Decode() public static method

public static Decode ( AESEngine aesDecrypt, N2HBinaryReader packet ) : bool
aesDecrypt AESEngine
packet CSharpRTMP.Common.N2HBinaryReader
return bool
コード例 #1
0
ファイル: Session.cs プロジェクト: zhujingcheng/csharprtmp
        public virtual void Decode(N2HBinaryReader reader)
        {
            var type = FarId == 0 ? AESEngine.AESType.SYMMETRIC : AESEngine.AESType.DEFAULT;

            RtmfpUtils.Decode(AesDecrypt.Next(type), reader);
            PrevAesType = type;
        }