mirror of
https://github.com/MachineCognitis/Math.Gmp.Native.git
synced 2024-09-07 17:58:20 +02:00
13 lines
11 KiB
HTML
13 lines
11 KiB
HTML
|
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mp_size_t Explicit Conversion (mp_size_t to Byte)</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="mp_size_t to Byte conversion" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mp_size_t.op_Explicit(Math.Gmp.Native.mp_size_t)~System.Byte" /><meta name="Description" content="Converts an value to a value." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="6eb39888-e104-5cdd-a22d-c1240ef748e4" /><meta name="guid" content="6eb39888-e104-5cdd-a22d-c1240ef748e4" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm" title="mp_size_t Structure" tocid="4b58a584-7a0e-b600-18fa-ebd493861eb3">mp_size_t Structure</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="884aef1a-9faa-b787-ff5e-022615bd41eb.htm" title="mp_size_t Operators and Type Conversions" tocid="884aef1a-9faa-b787-ff5e-022615bd41eb">mp_size_t Operators and Type Conversions</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="9c49193c-e71d-9d5a-ce64-27446b2d8c1b.htm" title="Explicit Conversion Operators" tocid="9c49193c-e71d-9d5a-ce64-27446b2d8c1b">Explicit Conversion Operators</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="fecd3260-6eb9-5e31-0266-9bb52bf9b038.htm" title="Explicit Conversion (Int64 to mp_size_t)" tocid="fecd3260-6eb9-5e31-0266-9bb52bf9b038">Explicit Conversion (Int64 to mp_size_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="edf58344-c7ce-6c94-dea2-e07f06eb7987.htm" title="Explicit Conversion (UInt32 to mp_size_t)" tocid="edf58344-c7ce-6c94-dea2-e07f06eb7987">Explicit Conversion (UInt32 to mp_size_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="43436692-e9c9-739f-aa96-be2b775dae62.htm" title="Explicit Conversion (UInt64 to mp_size_t)" tocid="43436692-e9c9-739f-
|
|||
|
Converts an <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">mp_size_t</a> value to a <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">Byte</a> value.
|
|||
|
</div><p> </p>
|
|||
|
<strong>Namespace:</strong>
|
|||
|
<a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native</a><br />
|
|||
|
<strong>Assembly:</strong>
|
|||
|
Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDCA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><div id="ID0EDCA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><div id="ID0EDCA_tab3" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><div id="ID0EDCA_tab4" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDCA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDCA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDCA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">explicit operator</span> <span class="identifier">byte</span> (
|
|||
|
<span class="identifier">mp_size_t</span> <span class="parameter">value</span>
|
|||
|
)</pre></div><div id="ID0EDCA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Shared</span> <span class="keyword">Narrowing</span> <span class="keyword">Operator</span> <span class="identifier">CType</span> (
|
|||
|
<span class="parameter">value</span> <span class="keyword">As</span> <span class="identifier">mp_size_t</span>
|
|||
|
) <span class="keyword">As</span> <span class="identifier">Byte</span></pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">static</span> <span class="keyword">explicit operator</span> <span class="identifier">unsigned char</span> (
|
|||
|
<span class="identifier">mp_size_t</span> <span class="parameter">value</span>
|
|||
|
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="message">F# does not support the declaration of new casting operators.</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">value</span></dt><dd>Type: <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">Math.Gmp.Native<span id="LSTDDE56B5E_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTDDE56B5E_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_size_t</a><br />An <a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">mp_size_t</a> value.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">Byte</a><br />A <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">Byte</a> value.</div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID2RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm">mp_size_t Structure</a></div><div class="seeAlsoStyle"><a href="9c49193c-e71d-9d5a-ce64-27446b2d8c1b.htm"><span id="LSTDDE56B5E_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTDDE56B5E_2?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script> Overload</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
|