public static uint CallRpc(string name, params RpcValue[] rpcValues)
        {
            UIntPtr size;

            byte[] nameB = CoreMethods.CreateUTF8String(name, out size);
            var    vals  = PackRpcValues(rpcValues);

            return(Interop.NT_CallRpc(nameB, size, vals, (UIntPtr)vals.Length));
        }