1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-26 07:08:48 +00:00
X10D/api/X10D.IO.StreamExtensions.html

2204 lines
98 KiB
HTML
Raw Normal View History

2024-06-12 13:17:02 +00:00
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class StreamExtensions
| X10D </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class StreamExtensions
| 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.StreamExtensions">
<h1 id="X10D_IO_StreamExtensions" data-uid="X10D.IO.StreamExtensions" class="text-break">Class StreamExtensions
</h1>
<div class="markdown level0 summary"><p>IO-related extension methods for <see cref="!:Stream"></see>.</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">StreamExtensions</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_StreamExtensions_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static class StreamExtensions : 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_StreamExtensions_GetHash__1_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.GetHash%60%601(Stream)%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/StreamExtensions.cs/#L27">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_GetHash_" data-uid="X10D.IO.StreamExtensions.GetHash*"></a>
<h4 id="X10D_IO_StreamExtensions_GetHash__1_Stream_" data-uid="X10D.IO.StreamExtensions.GetHash``1(Stream)">GetHash&lt;T&gt;(Stream)</h4>
<div class="markdown level1 summary"><p>Returns the hash of the current stream as an array of bytes using the specified hash algorithm.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static byte[] GetHash&lt;T&gt;(this Stream stream)
where T : HashAlgorithm</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream whose hash is to be computed.</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.Byte</span>[]</td>
<td><p>The hash of <code data-dev-comment-type="paramref" class="paramref">stream</code> represented as an array of bytes.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td><p>The type of the <see cref="!:HashAlgorithm"></see> whose <see cref="!:HashAlgorithm.ComputeHash(Stream)"></see> is to be used for
computing the hash.</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_StreamExtensions_ReadDecimalBigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadDecimalBigEndian(Stream)%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/StreamExtensions.Reading.cs/#L15">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadDecimalBigEndian_" data-uid="X10D.IO.StreamExtensions.ReadDecimalBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadDecimalBigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadDecimalBigEndian(Stream)">ReadDecimalBigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Decimal"></see> from the current stream as big endian, and advances the stream position by sixteen
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 decimal ReadDecimalBigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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.Decimal</span></td>
<td><p>The big endian value.</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_StreamExtensions_ReadDecimalLittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadDecimalLittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L53">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadDecimalLittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadDecimalLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadDecimalLittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadDecimalLittleEndian(Stream)">ReadDecimalLittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Decimal"></see> from the current stream as big endian, and advances the stream position by sixteen
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 decimal ReadDecimalLittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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.Decimal</span></td>
<td><p>The big endian value.</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_StreamExtensions_ReadDoubleBigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadDoubleBigEndian(Stream)%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/StreamExtensions.Reading.cs/#L90">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadDoubleBigEndian_" data-uid="X10D.IO.StreamExtensions.ReadDoubleBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadDoubleBigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadDoubleBigEndian(Stream)">ReadDoubleBigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Double"></see> from the current stream as big endian, and advances the stream position by 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 ReadDoubleBigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadDoubleLittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadDoubleLittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L115">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadDoubleLittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadDoubleLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadDoubleLittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadDoubleLittleEndian(Stream)">ReadDoubleLittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Double"></see> from the current stream as little endian, and advances the stream position by 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 ReadDoubleLittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadInt16BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt16BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L139">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt16BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt16BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt16BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt16BigEndian(Stream)">ReadInt16BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int16"></see> from the current stream as big endian, and advances the stream position by 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 ReadInt16BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadInt16LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt16LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L163">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt16LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt16LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt16LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt16LittleEndian(Stream)">ReadInt16LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int16"></see> from the current stream as little endian, and advances the stream position by 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 ReadInt16LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadInt32BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt32BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L187">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt32BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt32BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt32BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt32BigEndian(Stream)">ReadInt32BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int32"></see> from the current stream as big endian, and advances the stream position by 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 ReadInt32BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadInt32LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt32LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L211">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt32LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt32LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt32LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt32LittleEndian(Stream)">ReadInt32LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int32"></see> from the current stream as little endian, and advances the stream position by 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 ReadInt32LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadInt64BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt64BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L235">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt64BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt64BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt64BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt64BigEndian(Stream)">ReadInt64BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int64"></see> from the current stream as big endian, and advances the stream position by 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 ReadInt64BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadInt64LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadInt64LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L260">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadInt64LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadInt64LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadInt64LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadInt64LittleEndian(Stream)">ReadInt64LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Int64"></see> from the current stream as little endian, and advances the stream position by 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 ReadInt64LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadSingleBigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadSingleBigEndian(Stream)%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/StreamExtensions.Reading.cs/#L284">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadSingleBigEndian_" data-uid="X10D.IO.StreamExtensions.ReadSingleBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadSingleBigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadSingleBigEndian(Stream)">ReadSingleBigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Single"></see> from the current stream as big endian, and advances the stream position by 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 ReadSingleBigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadSingleLittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadSingleLittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L310">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadSingleLittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadSingleLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadSingleLittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadSingleLittleEndian(Stream)">ReadSingleLittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.Single"></see> from the current stream as little endian, and advances the stream position by 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 ReadSingleLittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadUInt16BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt16BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L335">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt16BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt16BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt16BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt16BigEndian(Stream)">ReadUInt16BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt16"></see> from the current stream as big endian, and advances the stream position by 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 ReadUInt16BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadUInt16LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt16LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L361">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt16LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt16LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt16LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt16LittleEndian(Stream)">ReadUInt16LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt16"></see> from the current stream as little endian, and advances the stream position by 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 ReadUInt16LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadUInt32BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt32BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L386">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt32BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt32BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt32BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt32BigEndian(Stream)">ReadUInt32BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt32"></see> from the current stream as big endian, and advances the stream position by 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 ReadUInt32BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadUInt32LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt32LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L411">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt32LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt32LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt32LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt32LittleEndian(Stream)">ReadUInt32LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt32"></see> from the current stream as little endian, and advances the stream position by 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 ReadUInt32LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_ReadUInt64BigEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt64BigEndian(Stream)%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/StreamExtensions.Reading.cs/#L436">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt64BigEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt64BigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt64BigEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt64BigEndian(Stream)">ReadUInt64BigEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt64"></see> from the current stream as big endian, and advances the stream position by 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 ReadUInt64BigEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The big endian value.</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_StreamExtensions_ReadUInt64LittleEndian_Stream_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.ReadUInt64LittleEndian(Stream)%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/StreamExtensions.Reading.cs/#L462">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_ReadUInt64LittleEndian_" data-uid="X10D.IO.StreamExtensions.ReadUInt64LittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_ReadUInt64LittleEndian_Stream_" data-uid="X10D.IO.StreamExtensions.ReadUInt64LittleEndian(Stream)">ReadUInt64LittleEndian(Stream)</h4>
<div class="markdown level1 summary"><p>Reads an <see cref="!:System.UInt64"></see> from the current stream as little endian, and advances the stream position by 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 ReadUInt64LittleEndian(this Stream stream)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream from which the value should be read.</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>The little endian value.</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_StreamExtensions_TryWriteHash__1_Stream_Span_System_Byte__System_Int32__.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.TryWriteHash%60%601(Stream%2CSpan%7BSystem.Byte%7D%2CSystem.Int32%40)%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/StreamExtensions.cs/#L81">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_TryWriteHash_" data-uid="X10D.IO.StreamExtensions.TryWriteHash*"></a>
<h4 id="X10D_IO_StreamExtensions_TryWriteHash__1_Stream_Span_System_Byte__System_Int32__" data-uid="X10D.IO.StreamExtensions.TryWriteHash``1(Stream,Span{System.Byte},System.Int32@)">TryWriteHash&lt;T&gt;(Stream, Span&lt;Byte&gt;, out Int32)</h4>
<div class="markdown level1 summary"><p>Returns the hash of the current stream as an array of bytes using the specified hash algorithm.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TryWriteHash&lt;T&gt;(this Stream stream, Span&lt;byte&gt; destination, out int bytesWritten)
where T : HashAlgorithm</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream whose hash is to be computed.</p>
</td>
</tr>
<tr>
<td><span class="xref">Span</span>&lt;<span class="xref">System.Byte</span>&gt;</td>
<td><span class="parametername">destination</span></td>
<td><p>When this method returns, contains the computed hash of <code data-dev-comment-type="paramref" class="paramref">stream</code>.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">bytesWritten</span></td>
<td><p>When this method returns, the total number of bytes written into destination. This parameter is treated as
uninitialized.</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.Boolean</span></td>
<td><p><span class="xref">true</span> if the destination is long enough to receive the hash; otherwise, <span class="xref">false</span>.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td><p>The type of the <see cref="!:HashAlgorithm"></see> whose <see cref="!:HashAlgorithm.ComputeHash(Stream)"></see> is to be used for
computing the hash.</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_StreamExtensions_WriteBigEndian_Stream_System_Decimal_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.Decimal)%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/StreamExtensions.Writing.cs/#L220">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Decimal_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Decimal)">WriteBigEndian(Stream, Decimal)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Decimal"></see> to the current stream as little endian, and advances the stream position by sixteen
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 WriteBigEndian(this Stream stream, decimal value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Decimal</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Decimal"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_Double_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.Double)%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/StreamExtensions.Writing.cs/#L194">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Double_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Double)">WriteBigEndian(Stream, Double)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Double"></see> to the current stream as little endian, and advances the stream position by 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 int WriteBigEndian(this Stream stream, double value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Double</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Double"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_Int16_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.Int16)%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/StreamExtensions.Writing.cs/#L15">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Int16_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Int16)">WriteBigEndian(Stream, Int16)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Int16"></see> to the current stream as big endian, and advances the stream position by 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 int WriteBigEndian(this Stream stream, short value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int16</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int16"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_Int32_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%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/StreamExtensions.Writing.cs/#L40">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Int32_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Int32)">WriteBigEndian(Stream, Int32)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Int32"></see> to the current stream as big endian, and advances the stream position by 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 WriteBigEndian(this Stream stream, int value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int32"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_Int64_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.Int64)%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/StreamExtensions.Writing.cs/#L65">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Int64_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Int64)">WriteBigEndian(Stream, Int64)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Int64"></see> to the current stream as big endian, and advances the stream position by 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 int WriteBigEndian(this Stream stream, long value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int64</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int64"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_Single_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.Single)%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/StreamExtensions.Writing.cs/#L168">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_Single_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.Single)">WriteBigEndian(Stream, Single)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Single"></see> to the current stream as little endian, and advances the stream position by 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 WriteBigEndian(this Stream stream, float value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Single"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_UInt16_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.UInt16)%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/StreamExtensions.Writing.cs/#L90">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_UInt16_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.UInt16)">WriteBigEndian(Stream, UInt16)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt16"></see> to the current stream as big endian, and advances the stream position by 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 int WriteBigEndian(this Stream stream, ushort value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt16</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.UInt16"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_UInt32_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.UInt32)%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/StreamExtensions.Writing.cs/#L116">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_UInt32_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.UInt32)">WriteBigEndian(Stream, UInt32)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt32"></see> to the current stream as big endian, and advances the stream position by 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 WriteBigEndian(this Stream stream, uint value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt32</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.UInt32"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteBigEndian_Stream_System_UInt64_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteBigEndian(Stream%2CSystem.UInt64)%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/StreamExtensions.Writing.cs/#L142">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteBigEndian_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteBigEndian_Stream_System_UInt64_" data-uid="X10D.IO.StreamExtensions.WriteBigEndian(Stream,System.UInt64)">WriteBigEndian(Stream, UInt64)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt64"></see> to the current stream as big endian, and advances the stream position by 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 int WriteBigEndian(this Stream stream, ulong value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt64</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.UInt64"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Decimal_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.Decimal)%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/StreamExtensions.Writing.cs/#L372">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Decimal_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Decimal)">WriteLittleEndian(Stream, Decimal)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Decimal"></see> to the current stream as little endian, and advances the stream position by sixteen
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 WriteLittleEndian(this Stream stream, decimal value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Decimal</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Decimal"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Double_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.Double)%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/StreamExtensions.Writing.cs/#L346">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Double_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Double)">WriteLittleEndian(Stream, Double)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Double"></see> to the current stream as little endian, and advances the stream position by 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 int WriteLittleEndian(this Stream stream, double value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Double</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Double"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Int16_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.Int16)%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/StreamExtensions.Writing.cs/#L245">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Int16_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Int16)">WriteLittleEndian(Stream, Int16)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Int16"></see> to the current stream as little endian, and advances the stream position by 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 int WriteLittleEndian(this Stream stream, short value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int16</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int16"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Int32_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%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/StreamExtensions.Writing.cs/#L270">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Int32_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Int32)">WriteLittleEndian(Stream, Int32)</h4>
<div class="markdown level1 summary"><p>Writes an <see cref="!:System.Int32"></see> to the current stream as little endian, and advances the stream position by 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 WriteLittleEndian(this Stream stream, int value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int32"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Int64_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.Int64)%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/StreamExtensions.Writing.cs/#L295">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Int64_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Int64)">WriteLittleEndian(Stream, Int64)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Int64"></see> to the current stream as little endian, and advances the stream position by 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 int WriteLittleEndian(this Stream stream, long value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int64</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Int64"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_Single_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.Single)%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/StreamExtensions.Writing.cs/#L320">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_Single_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.Single)">WriteLittleEndian(Stream, Single)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.Single"></see> to the current stream as little endian, and advances the stream position by 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 WriteLittleEndian(this Stream stream, float value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">value</span></td>
<td><p>The <see cref="!:System.Single"></see> to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_UInt16_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.UInt16)%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/StreamExtensions.Writing.cs/#L397">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_UInt16_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.UInt16)">WriteLittleEndian(Stream, UInt16)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt16"></see> to the current stream as little endian, and advances the stream position by 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 int WriteLittleEndian(this Stream stream, ushort value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt16</span></td>
<td><span class="parametername">value</span></td>
<td><p>The two-byte signed integer to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_UInt32_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.UInt32)%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/StreamExtensions.Writing.cs/#L423">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_UInt32_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.UInt32)">WriteLittleEndian(Stream, UInt32)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt32"></see> to the current stream as little endian, and advances the stream position by 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 WriteLittleEndian(this Stream stream, uint value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt32</span></td>
<td><span class="parametername">value</span></td>
<td><p>The two-byte signed integer to write.</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>The number of bytes written to the stream.</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_StreamExtensions_WriteLittleEndian_Stream_System_UInt64_.md&amp;value=---%0Auid%3A%20X10D.IO.StreamExtensions.WriteLittleEndian(Stream%2CSystem.UInt64)%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/StreamExtensions.Writing.cs/#L449">View Source</a>
</span>
<a id="X10D_IO_StreamExtensions_WriteLittleEndian_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian*"></a>
<h4 id="X10D_IO_StreamExtensions_WriteLittleEndian_Stream_System_UInt64_" data-uid="X10D.IO.StreamExtensions.WriteLittleEndian(Stream,System.UInt64)">WriteLittleEndian(Stream, UInt64)</h4>
<div class="markdown level1 summary"><p>Writes a <see cref="!:System.UInt64"></see> to the current stream as little endian, and advances the stream position by 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 int WriteLittleEndian(this Stream stream, ulong value)</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">Stream</span></td>
<td><span class="parametername">stream</span></td>
<td><p>The stream to which the value should be written.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.UInt64</span></td>
<td><span class="parametername">value</span></td>
<td><p>The two-byte signed integer to write.</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>The number of bytes written to the stream.</p>
</td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="copyright-footer">
<span>&#169; 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>