Tpm2Lib.SymDefObject.ToHost C# (CSharp) Method

ToHost() private method

private ToHost ( Marshaller m ) : void
m Marshaller
return void
        internal override void ToHost(Marshaller m)
        {
            Algorithm = (TpmAlgId)m.Get(typeof (TpmAlgId), "algorithm");
            if (Algorithm == TpmAlgId.None || Algorithm == TpmAlgId.Null)
            {
                return;
            }
            KeyBits = (ushort)m.Get(typeof (ushort), "keyBits");
            Mode = (TpmAlgId)m.Get(typeof (TpmAlgId), "mode");
        }
    } // class SymDefObject