# C1.Util.DX.Storage.ComStreamBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Storage_ComStreamBase" data-uid="C1.Util.DX.Storage.ComStreamBase" class="text-break">ComStreamBase Class
</h1>
  <div class="markdown level0 summary"><p>ISequentialStream</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.ComObjectCallback.html">ComObjectCallback</a></div>
    <div class="level5"><span class="xref">ComStreamBase</span></div>
      <div class="level6"><a class="xref" href="C1.Util.DX.Storage.ComStream.html">ComStream</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
    <div><a class="xref" href="C1.Util.DX.Storage.IStreamBase.html">IStreamBase</a></div>
    <div><a class="xref" href="C1.Util.DX.ICallbackable.html">ICallbackable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Storage.html">C1.Util.DX.Storage</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Storage_ComStreamBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;0c733a30-2a1c-11ce-ade5-00aa0044773d&quot;)]
public class ComStreamBase : ComObjectCallback, IUnknown, IStreamBase, ICallbackable, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;0c733a30-2a1c-11ce-ade5-00aa0044773d&quot;)&gt;
Public Class ComStreamBase
    Inherits ComObjectCallback
    Implements IUnknown, IStreamBase, ICallbackable, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Storage_ComStreamBase__ctor_System_IntPtr_" data-uid="C1.Util.DX.Storage.ComStreamBase.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.-ctor.html#C1_Util_DX_Storage_ComStreamBase__ctor_System_IntPtr_">ComStreamBase(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.html">ComStreamBase</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Storage_ComStreamBase_Read_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.Storage.ComStreamBase.Read(System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.Read.html#C1_Util_DX_Storage_ComStreamBase_Read_System_IntPtr_System_Int32_">Read(nint, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISequentialStream::Read([Out, Buffer] void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbRead)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Storage_ComStreamBase_Write_System_IntPtr_System_Int32_" data-uid="C1.Util.DX.Storage.ComStreamBase.Write(System.IntPtr,System.Int32)">
          <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.Write.html#C1_Util_DX_Storage_ComStreamBase_Write_System_IntPtr_System_Int32_">Write(nint, int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT ISequentialStream::Write([In, Buffer] const void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbWritten)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Storage_ComStreamBase_op_Explicit_System_IntPtr__C1_Util_DX_Storage_ComStreamBase" data-uid="C1.Util.DX.Storage.ComStreamBase.op_Explicit(System.IntPtr)~C1.Util.DX.Storage.ComStreamBase">
          <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.op_Explicit.html#C1_Util_DX_Storage_ComStreamBase_op_Explicit_System_IntPtr__C1_Util_DX_Storage_ComStreamBase">explicit operator ComStreamBase(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a> to <a class="xref" href="C1.Util.DX.Storage.ComStreamBase.html">ComStreamBase</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
