mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:25:41 +00:00
1093 lines
52 KiB
HTML
1093 lines
52 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<!--[if IE]><![endif]-->
|
|||
|
<html>
|
|||
|
|
|||
|
<head>
|
|||
|
<meta charset="utf-8">
|
|||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|||
|
<title>Class ListOfByteExtensions
|
|||
|
| X10D </title>
|
|||
|
<meta name="viewport" content="width=device-width">
|
|||
|
<meta name="title" content="Class ListOfByteExtensions
|
|||
|
| X10D ">
|
|||
|
<meta name="generator" content="docfx 2.56.7.0">
|
|||
|
|
|||
|
<link rel="shortcut icon" href="../images/favicon.png">
|
|||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
|||
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/night-owl.min.css">
|
|||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css" integrity="sha384-EvBWSlnoFgZlXJvpzS+MAUEjvN7+gcCwH+qh7GRFOGgZO0PuwOFro7qPOJnLfe7l" crossorigin="anonymous">
|
|||
|
<link rel="stylesheet" href="../styles/config.css">
|
|||
|
<link rel="stylesheet" href="../styles/discord.css">
|
|||
|
<link rel="stylesheet" href="../styles/singulink.css">
|
|||
|
<link rel="stylesheet" href="../styles/main.css">
|
|||
|
<meta property="docfx:navrel" content="../toc.html">
|
|||
|
<meta property="docfx:tocrel" content="toc.html">
|
|||
|
|
|||
|
<meta property="docfx:rel" content="../">
|
|||
|
<meta property="docfx:newtab" content="true">
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div class="top-navbar">
|
|||
|
<a class="burger-icon" onclick="toggleMenu()">
|
|||
|
<svg name="Hamburger" style="vertical-align: middle;" width="34" height="34" viewbox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M20 6H4V9H20V6ZM4 10.999H20V13.999H4V10.999ZM4 15.999H20V18.999H4V15.999Z"></path></svg>
|
|||
|
</a>
|
|||
|
|
|||
|
|
|||
|
<a class="brand" href="../index.html">
|
|||
|
<img src="../images/favicon.png" alt="X10D" class="logomark">
|
|||
|
<span class="brand-title">X10D</span>
|
|||
|
</a> </div>
|
|||
|
|
|||
|
<div class="body-content">
|
|||
|
<div id="blackout" class="blackout" onclick="toggleMenu()"></div>
|
|||
|
|
|||
|
<nav id="sidebar" role="navigation">
|
|||
|
<div class="sidebar">
|
|||
|
|
|||
|
<div>
|
|||
|
<div class="mobile-hide">
|
|||
|
|
|||
|
<a class="brand" href="../index.html">
|
|||
|
<img src="../images/favicon.png" alt="X10D" class="logomark">
|
|||
|
<span class="brand-title">X10D</span>
|
|||
|
</a> </div>
|
|||
|
|
|||
|
<div class="sidesearch">
|
|||
|
<form id="search" role="search" class="search">
|
|||
|
<i class="bi bi-search search-icon"></i>
|
|||
|
<input type="text" id="search-query" placeholder="Search" autocomplete="off">
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="navbar">
|
|||
|
</div>
|
|||
|
</div> <div class="sidebar-item-separator"></div>
|
|||
|
|
|||
|
<div id="sidetoggle">
|
|||
|
<div id="sidetoc"></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="footer">
|
|||
|
<strong>DocFX + Singulink = ♥</strong>
|
|||
|
|
|||
|
</div> </nav>
|
|||
|
|
|||
|
<main class="main-panel">
|
|||
|
|
|||
|
<div id="search-results" style="display: none;">
|
|||
|
<h1 class="search-list">Search Results for <span></span></h1>
|
|||
|
<div class="sr-items">
|
|||
|
<p><i class="bi bi-hourglass-split index-loading"></i></p>
|
|||
|
</div>
|
|||
|
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
|
|||
|
</div>
|
|||
|
<div role="main" class="hide-when-search">
|
|||
|
|
|||
|
<div class="subnav navbar navbar-default">
|
|||
|
<div class="container hide-when-search" id="breadcrumb">
|
|||
|
<ul class="breadcrumb">
|
|||
|
<li></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<article class="content wrap" id="_content" data-uid="X10D.IO.ListOfByteExtensions">
|
|||
|
|
|||
|
|
|||
|
<h1 id="X10D_IO_ListOfByteExtensions" data-uid="X10D.IO.ListOfByteExtensions" class="text-break">Class ListOfByteExtensions
|
|||
|
</h1>
|
|||
|
<div class="markdown level0 summary"><p>Extension methods for <see cref="!:System.Byte"></see> array.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level0 conceptual"></div>
|
|||
|
<div class="inheritance">
|
|||
|
<h5>Inheritance</h5>
|
|||
|
<div class="level0"><span class="xref">System.Object</span></div>
|
|||
|
<div class="level1"><span class="xref">ListOfByteExtensions</span></div>
|
|||
|
</div>
|
|||
|
<h6><strong>Namespace</strong>: <a class="xref" href="X10D.IO.html">X10D.IO</a></h6>
|
|||
|
<h6><strong>Assembly</strong>: X10D.dll</h6>
|
|||
|
<h5 id="X10D_IO_ListOfByteExtensions_syntax">Syntax</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static class ListOfByteExtensions : object</code></pre>
|
|||
|
</div>
|
|||
|
<h3 id="methods">Methods
|
|||
|
</h3>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_AsString_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.AsString(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L20">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_AsString_" data-uid="X10D.IO.ListOfByteExtensions.AsString*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_AsString_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.AsString(IReadOnlyList{System.Byte})">AsString(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Converts the numeric value of each element of a specified list of bytes to its equivalent hexadecimal string
|
|||
|
representation.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static string AsString(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.String</span></td>
|
|||
|
<td><p>A string of hexadecimal pairs separated by hyphens, where each pair represents the corresponding element in
|
|||
|
<code data-dev-comment-type="paramref" class="paramref">source</code>; for example, "7F-2C-4A-00".</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToDouble_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToDouble(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L36">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToDouble_" data-uid="X10D.IO.ListOfByteExtensions.ToDouble*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToDouble_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToDouble(IReadOnlyList{System.Byte})">ToDouble(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a double-precision floating point number converted from eight bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static double ToDouble(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Double</span></td>
|
|||
|
<td><p>A double-precision floating point number formed by eight bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToDouble_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToDouble(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L51">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToDouble_" data-uid="X10D.IO.ListOfByteExtensions.ToDouble*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToDouble_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToDouble(IReadOnlyList{System.Byte},System.Int32)">ToDouble(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a double-precision floating point number converted from eight bytes at a specified position in a list of
|
|||
|
bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static double ToDouble(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Double</span></td>
|
|||
|
<td><p>A double-precision floating point number formed by eight bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt16_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt16(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L67">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt16_" data-uid="X10D.IO.ListOfByteExtensions.ToInt16*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt16_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToInt16(IReadOnlyList{System.Byte})">ToInt16(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 16-bit signed integer converted from two bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static short ToInt16(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int16</span></td>
|
|||
|
<td><p>A 16-bit signed integer formed by two bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt16_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt16(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L79">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt16_" data-uid="X10D.IO.ListOfByteExtensions.ToInt16*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt16_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToInt16(IReadOnlyList{System.Byte},System.Int32)">ToInt16(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 16-bit signed integer converted from two bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static short ToInt16(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int16</span></td>
|
|||
|
<td><p>A 16-bit signed integer formed by two bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt32_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt32(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L95">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt32_" data-uid="X10D.IO.ListOfByteExtensions.ToInt32*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt32_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToInt32(IReadOnlyList{System.Byte})">ToInt32(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 32-bit signed integer converted from four bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static int ToInt32(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><p>A 32-bit signed integer formed by four bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt32_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt32(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L107">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt32_" data-uid="X10D.IO.ListOfByteExtensions.ToInt32*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt32_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToInt32(IReadOnlyList{System.Byte},System.Int32)">ToInt32(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 32-bit signed integer converted from four bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static int ToInt32(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><p>A 32-bit signed integer formed by four bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt64_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt64(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L123">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt64_" data-uid="X10D.IO.ListOfByteExtensions.ToInt64*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt64_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToInt64(IReadOnlyList{System.Byte})">ToInt64(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 64-bit signed integer converted from eight bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static long ToInt64(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int64</span></td>
|
|||
|
<td><p>A 64-bit signed integer formed by eight bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToInt64_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToInt64(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L135">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToInt64_" data-uid="X10D.IO.ListOfByteExtensions.ToInt64*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToInt64_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToInt64(IReadOnlyList{System.Byte},System.Int32)">ToInt64(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 64-bit signed integer converted from eight bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static long ToInt64(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int64</span></td>
|
|||
|
<td><p>A 64-bit signed integer formed by eight bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToSingle_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToSingle(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L150">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToSingle_" data-uid="X10D.IO.ListOfByteExtensions.ToSingle*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToSingle_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToSingle(IReadOnlyList{System.Byte})">ToSingle(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a single-precision floating point number converted from four bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static float ToSingle(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Single</span></td>
|
|||
|
<td><p>A single-precision floating point number formed by four bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToSingle_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToSingle(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L164">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToSingle_" data-uid="X10D.IO.ListOfByteExtensions.ToSingle*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToSingle_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToSingle(IReadOnlyList{System.Byte},System.Int32)">ToSingle(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a single-precision floating point number converted from four bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static float ToSingle(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Single</span></td>
|
|||
|
<td><p>A single-precision floating point number formed by four bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToString_IReadOnlyList_System_Byte__Encoding_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToString(IReadOnlyList%7BSystem.Byte%7D%2CEncoding)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L185">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToString_" data-uid="X10D.IO.ListOfByteExtensions.ToString*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToString_IReadOnlyList_System_Byte__Encoding_" data-uid="X10D.IO.ListOfByteExtensions.ToString(IReadOnlyList{System.Byte},Encoding)">ToString(IReadOnlyList<Byte>, Encoding)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Decodes all the bytes within the current list of bytes to a string, using a specified encoding.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static string ToString(this IReadOnlyList<byte> source, Encoding encoding)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">Encoding</span></td>
|
|||
|
<td><span class="parametername">encoding</span></td>
|
|||
|
<td><p>The encoding which should be used to decode <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.String</span></td>
|
|||
|
<td><p>A string that contains the results of decoding the specified sequence of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt16_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt16(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L206">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt16_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt16*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt16_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToUInt16(IReadOnlyList{System.Byte})">ToUInt16(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 16-bit unsigned integer converted from two bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static ushort ToUInt16(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt16</span></td>
|
|||
|
<td><p>A 16-bit unsigned integer formed by two bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt16_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt16(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L219">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt16_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt16*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt16_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt16(IReadOnlyList{System.Byte},System.Int32)">ToUInt16(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 16-bit unsigned integer converted from two bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static ushort ToUInt16(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt16</span></td>
|
|||
|
<td><p>A 16-bit unsigned integer formed by two bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt32_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt32(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L236">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt32_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt32*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt32_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToUInt32(IReadOnlyList{System.Byte})">ToUInt32(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 32-bit unsigned integer converted from four bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static uint ToUInt32(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt32</span></td>
|
|||
|
<td><p>A 32-bit unsigned integer formed by four bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt32_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt32(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L249">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt32_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt32*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt32_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt32(IReadOnlyList{System.Byte},System.Int32)">ToUInt32(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 32-bit unsigned integer converted from four bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static uint ToUInt32(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt32</span></td>
|
|||
|
<td><p>A 32-bit unsigned integer formed by four bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt64_IReadOnlyList_System_Byte__.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt64(IReadOnlyList%7BSystem.Byte%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L266">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt64_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt64*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt64_IReadOnlyList_System_Byte__" data-uid="X10D.IO.ListOfByteExtensions.ToUInt64(IReadOnlyList{System.Byte})">ToUInt64(IReadOnlyList<Byte>)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 64-bit unsigned integer converted from eight bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static ulong ToUInt64(this IReadOnlyList<byte> source)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt64</span></td>
|
|||
|
<td><p>A 64-bit unsigned integer formed by eight bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<span class="divider">|</span>
|
|||
|
<a href="https://github.com/oliverbooth/X10D/new/main/apiSpec/new?filename=X10D_IO_ListOfByteExtensions_ToUInt64_IReadOnlyList_System_Byte__System_Int32_.md&value=---%0Auid%3A%20X10D.IO.ListOfByteExtensions.ToUInt64(IReadOnlyList%7BSystem.Byte%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
|
|||
|
</span>
|
|||
|
<span class="small pull-right mobile-hide">
|
|||
|
<a href="https://github.com/oliverbooth/X10D/blob/main/X10D/src/IO/ListOfByteExtensions.cs/#L279">View Source</a>
|
|||
|
</span>
|
|||
|
<a id="X10D_IO_ListOfByteExtensions_ToUInt64_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt64*"></a>
|
|||
|
<h4 id="X10D_IO_ListOfByteExtensions_ToUInt64_IReadOnlyList_System_Byte__System_Int32_" data-uid="X10D.IO.ListOfByteExtensions.ToUInt64(IReadOnlyList{System.Byte},System.Int32)">ToUInt64(IReadOnlyList<Byte>, Int32)</h4>
|
|||
|
<div class="markdown level1 summary"><p>Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a list of bytes.</p>
|
|||
|
</div>
|
|||
|
<div class="markdown level1 conceptual"></div>
|
|||
|
<h5 class="decalaration">Declaration</h5>
|
|||
|
<div class="codewrapper">
|
|||
|
<pre><code class="lang-csharp hljs">public static ulong ToUInt64(this IReadOnlyList<byte> source, int startIndex)</code></pre>
|
|||
|
</div>
|
|||
|
<h5 class="parameters">Parameters</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Name</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">IReadOnlyList</span><<span class="xref">System.Byte</span>></td>
|
|||
|
<td><span class="parametername">source</span></td>
|
|||
|
<td><p>The source list of bytes.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.Int32</span></td>
|
|||
|
<td><span class="parametername">startIndex</span></td>
|
|||
|
<td><p>The starting position within <code data-dev-comment-type="paramref" class="paramref">source</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
<h5 class="returns">Returns</h5>
|
|||
|
<table class="table table-bordered table-striped table-condensed">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
<tr>
|
|||
|
<td><span class="xref">System.UInt64</span></td>
|
|||
|
<td><p>A 64-bit unsigned integer formed by eight bytes beginning at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>.</p>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</article>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="copyright-footer">
|
|||
|
<span>© Singulink. All rights reserved.</span>
|
|||
|
</div>
|
|||
|
</main>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
|||
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
|||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js"></script>
|
|||
|
<script type="text/javascript" src="../styles/jquery.twbsPagination.js"></script>
|
|||
|
<script type="text/javascript" src="../styles/url.min.js"></script>
|
|||
|
<script src="https://cdn.jsdelivr.net/npm/anchor-js/anchor.min.js"></script>
|
|||
|
<script type="text/javascript" src="../styles/docfx.js"></script>
|
|||
|
<script type="text/javascript" src="../styles/singulink.js"></script>
|
|||
|
<script type="text/javascript" src="../styles/main.js"></script> </body>
|
|||
|
</html>
|