Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
justcoding121 committed Apr 23, 2019
2 parents 5b797b8 + 7edf653 commit c9d4d28
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 3 deletions.
52 changes: 52 additions & 0 deletions docs/api/StreamExtended.Network.CopyStream.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,58 @@ <h5 class="returns">Returns</h5>
</table>


<a id="StreamExtended_Network_CopyStream_PeekBytesAsync_" data-uid="StreamExtended.Network.CopyStream.PeekBytesAsync*"></a>
<h4 id="StreamExtended_Network_CopyStream_PeekBytesAsync_System_Int32_System_Int32_System_Threading_CancellationToken_" data-uid="StreamExtended.Network.CopyStream.PeekBytesAsync(System.Int32,System.Int32,System.Threading.CancellationToken)">PeekBytesAsync(Int32, Int32, CancellationToken)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;byte[]&gt; PeekBytesAsync(int index, int size, CancellationToken cancellationToken = default(CancellationToken))</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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">size</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
<td><span class="parametername">cancellationToken</span></td>
<td></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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>[]&gt;</td>
<td></td>
</tr>
</tbody>
</table>


<a id="StreamExtended_Network_CopyStream_Read_" data-uid="StreamExtended.Network.CopyStream.Read*"></a>
<h4 id="StreamExtended_Network_CopyStream_Read_System_Byte___System_Int32_System_Int32_" data-uid="StreamExtended.Network.CopyStream.Read(System.Byte[],System.Int32,System.Int32)">Read(Byte[], Int32, Int32)</h4>
<div class="markdown level1 summary"></div>
Expand Down
55 changes: 55 additions & 0 deletions docs/api/StreamExtended.Network.CustomBufferedStream.html
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,61 @@ <h5 class="exceptions">Exceptions</h5>
</table>


<a id="StreamExtended_Network_CustomBufferedStream_PeekBytesAsync_" data-uid="StreamExtended.Network.CustomBufferedStream.PeekBytesAsync*"></a>
<h4 id="StreamExtended_Network_CustomBufferedStream_PeekBytesAsync_System_Int32_System_Int32_System_Threading_CancellationToken_" data-uid="StreamExtended.Network.CustomBufferedStream.PeekBytesAsync(System.Int32,System.Int32,System.Threading.CancellationToken)">PeekBytesAsync(Int32, Int32, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Peeks bytes asynchronous.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task&lt;byte[]&gt; PeekBytesAsync(int index, int size, CancellationToken cancellationToken = default(CancellationToken))</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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">index</span></td>
<td><p>The index.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">size</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
<td><span class="parametername">cancellationToken</span></td>
<td><p>The cancellation token.</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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>[]&gt;</td>
<td></td>
</tr>
</tbody>
</table>


<a id="StreamExtended_Network_CustomBufferedStream_Read_" data-uid="StreamExtended.Network.CustomBufferedStream.Read*"></a>
<h4 id="StreamExtended_Network_CustomBufferedStream_Read_System_Byte___System_Int32_System_Int32_" data-uid="StreamExtended.Network.CustomBufferedStream.Read(System.Byte[],System.Int32,System.Int32)">Read(Byte[], Int32, Int32)</h4>
<div class="markdown level1 summary"><p>When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</p>
Expand Down
55 changes: 55 additions & 0 deletions docs/api/StreamExtended.Network.ICustomStreamReader.html
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,61 @@ <h5 class="exceptions">Exceptions</h5>
</table>


<a id="StreamExtended_Network_ICustomStreamReader_PeekBytesAsync_" data-uid="StreamExtended.Network.ICustomStreamReader.PeekBytesAsync*"></a>
<h4 id="StreamExtended_Network_ICustomStreamReader_PeekBytesAsync_System_Int32_System_Int32_System_Threading_CancellationToken_" data-uid="StreamExtended.Network.ICustomStreamReader.PeekBytesAsync(System.Int32,System.Int32,System.Threading.CancellationToken)">PeekBytesAsync(Int32, Int32, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Peeks bytes asynchronous.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">Task&lt;byte[]&gt; PeekBytesAsync(int index, int size, CancellationToken cancellationToken = default(CancellationToken))</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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">index</span></td>
<td><p>The index.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.int32">Int32</a></td>
<td><span class="parametername">size</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
<td><span class="parametername">cancellationToken</span></td>
<td><p>The cancellation token.</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><a class="xref" href="https://docs.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://docs.microsoft.com/dotnet/api/system.byte">Byte</a>[]&gt;</td>
<td></td>
</tr>
</tbody>
</table>


<a id="StreamExtended_Network_ICustomStreamReader_Read_" data-uid="StreamExtended.Network.ICustomStreamReader.Read*"></a>
<h4 id="StreamExtended_Network_ICustomStreamReader_Read_System_Byte___System_Int32_System_Int32_" data-uid="StreamExtended.Network.ICustomStreamReader.Read(System.Byte[],System.Int32,System.Int32)">Read(Byte[], Int32, Int32)</h4>
<div class="markdown level1 summary"><p>When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</p>
Expand Down
Loading

0 comments on commit c9d4d28

Please sign in to comment.