tune
This commit is contained in:
@@ -332,6 +332,43 @@ Class StringUtil
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_StringUtil_ToUtf8NullTerminatedBytes_" data-uid="Hi.Common.StringUtil.ToUtf8NullTerminatedBytes*"></a>
|
||||
|
||||
<h3 id="Hi_Common_StringUtil_ToUtf8NullTerminatedBytes_System_String_" data-uid="Hi.Common.StringUtil.ToUtf8NullTerminatedBytes(System.String)">
|
||||
ToUtf8NullTerminatedBytes(string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Converts a string to a null-terminated UTF-8 byte array for P/Invoke.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static byte[] ToUtf8NullTerminatedBytes(this string str)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>str</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user