19 lines
16 KiB
HTML
19 lines
16 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>BitWriter.Dispose Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="Dispose method" /><meta name="System.Keywords" content="BitWriter.Dispose method" /><meta name="Microsoft.Help.F1" content="MLAPI.NetworkingManagerComponents.Binary.BitWriter.Dispose" /><meta name="Microsoft.Help.Id" content="M:MLAPI.NetworkingManagerComponents.Binary.BitWriter.Dispose" /><meta name="Description" content="MLAPI.NetworkingManagerComponents.Binary.BitWriter" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="MLAPI.NetworkingManagerComponents.Binary" /><meta name="file" content="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Dispose" /><meta name="guid" content="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Dispose" /><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">MLAPI API Reference<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="../html\N_MLAPI_Attributes.htm" title="MLAPI API Reference" tocid="roottoc">MLAPI API Reference</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/N_MLAPI_NetworkingManagerComponents_Binary.htm" title="MLAPI.NetworkingManagerComponents.Binary" tocid="N_MLAPI_NetworkingManagerComponents_Binary">MLAPI.NetworkingManagerComponents.Binary</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/T_MLAPI_NetworkingManagerComponents_Binary_BitWriter.htm" title="BitWriter Class" tocid="T_MLAPI_NetworkingManagerComponents_Binary_BitWriter">BitWriter Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/Methods_T_MLAPI_NetworkingManagerComponents_Binary_BitWriter.htm" title="BitWriter Methods" tocid="Methods_T_MLAPI_NetworkingManagerComponents_Binary_BitWriter">BitWriter Methods</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Dispose.htm" title="Dispose Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Dispose">Dispose Method </a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/Overload_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Finalize.htm" title="Finalize Method " tocid="Overload_MLAPI_NetworkingManagerComponents_Binary_BitWriter_Finalize">Finalize Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_GetFinalizeSize.htm" title="GetFinalizeSize Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_GetFinalizeSize">GetFinalizeSize Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteAlignBits.htm" title="WriteAlignBits Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteAlignBits">WriteAlignBits Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteBits.htm" title="WriteBits Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteBits">WriteBits Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteBool.htm" title="WriteBool Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteBool">WriteBool Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteByte.htm" title="WriteByte Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteByte">WriteByte Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteByteArray.htm" title="WriteByteArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteByteArray">WriteByteArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteDouble.htm" title="WriteDouble Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteDouble">WriteDouble Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteDoubleArray.htm" title="WriteDoubleArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteDoubleArray">WriteDoubleArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteFloat.htm" title="WriteFloat Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteFloat">WriteFloat Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteFloatArray.htm" title="WriteFloatArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteFloatArray">WriteFloatArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteInt.htm" title="WriteInt Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteInt">WriteInt Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteIntArray.htm" title="WriteIntArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteIntArray">WriteIntArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteLong.htm" title="WriteLong Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteLong">WriteLong Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteLongArray.htm" title="WriteLongArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteLongArray">WriteLongArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteSByte.htm" title="WriteSByte Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteSByte">WriteSByte Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteSByteArray.htm" title="WriteSByteArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteSByteArray">WriteSByteArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteShort.htm" title="WriteShort Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteShort">WriteShort Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteShortArray.htm" title="WriteShortArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteShortArray">WriteShortArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteString.htm" title="WriteString Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteString">WriteString Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUInt.htm" title="WriteUInt Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUInt">WriteUInt Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUIntArray.htm" title="WriteUIntArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUIntArray">WriteUIntArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteULong.htm" title="WriteULong Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteULong">WriteULong Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteULongArray.htm" title="WriteULongArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteULongArray">WriteULongArray Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUShort.htm" title="WriteUShort Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUShort">WriteUShort Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUShortArray.htm" title="WriteUShortArray Method " tocid="M_MLAPI_NetworkingManagerComponents_Binary_BitWriter_WriteUShortArray">WriteUShortArray Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn"><h1>BitWriter<span id="LST157F6C6F_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST157F6C6F_0?cpp=::|nu=.");</script>Dispose Method </h1></td><td class="logoColumn"><img width="600" src="../icons/MLAPI_Logo.png" /></td></tr></table><span class="introStyle"></span> <p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[This is preliminary documentation and is subject to change.]</p><div class="summary">Releases all resources used by the <a href="T_MLAPI_NetworkingManagerComponents_Binary_BitWriter.htm">BitWriter</a></div><p> </p>
|
||
<strong>Namespace:</strong>
|
||
<a href="N_MLAPI_NetworkingManagerComponents_Binary.htm">MLAPI.NetworkingManagerComponents.Binary</a><br />
|
||
<strong>Assembly:</strong>
|
||
MLAPI (in MLAPI.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="ID0EACA_tab1" class="codeSnippetContainerTabSingle">C#</div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EACA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EACA');return false;" title="Copy">Copy</a></div></div><div id="ID0EACA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">void</span> <span class="identifier">Dispose</span>()</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EACA");</script><a id="HT_RequestExampleLink" href="https://github.com/TwoTenPvP/MLAPI/issues/new" target="_blank" class="button" title="Request an example for this topic">Request Example</a>
|
||
<script type="text/javascript">
|
||
var HT_requestExampleLink = document.getElementById("HT_RequestExampleLink");
|
||
var HT_requestExampleLinkText = HT_requestExampleLink.innerHTML;
|
||
|
||
if(HT_requestExampleLink.href.substring(0, 4).toLowerCase() == "http")
|
||
HT_requestExampleLink.href += "?title=";
|
||
else
|
||
HT_requestExampleLink.href += "?subject=MLAPI API Reference: ";
|
||
|
||
HT_requestExampleLink.href += "Add an Example for " + encodeURIComponent(document.title) + "&body=" +
|
||
encodeURIComponent("Please add an example for " + document.title + ".%0D%0DTODO (optional): Describe a specific " +
|
||
"scenario you would like to see addressed.%0D%0DHelp Topic: " + window.location.href).replace(/%250D/g, "%0D");
|
||
HT_requestExampleLink.innerHTML = HT_requestExampleLinkText;
|
||
</script><a target="_blank" class="button" href="https://github.com/TwoTenPvP/MLAPI/blob/master/MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs#L421" title="View the source code">View Source</a><h4 class="subHeading">Implements</h4><a href="http://msdn2.microsoft.com/en-us/library/es4s3w1d" target="_blank">IDisposable<span id="LST157F6C6F_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST157F6C6F_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Dispose<span id="LST157F6C6F_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST157F6C6F_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a><br /></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="T_MLAPI_NetworkingManagerComponents_Binary_BitWriter.htm">BitWriter Class</a></div><div class="seeAlsoStyle"><a href="N_MLAPI_NetworkingManagerComponents_Binary.htm">MLAPI.NetworkingManagerComponents.Binary Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html> |