,underestimateCount,lazy,Element,SubSequence"
root: "/v2.0"
---

<div class="intro-declaration"><code class="language-swift">struct UnsafeBufferPointerGenerator&lt;Element&gt;</code></div>

<div class="discussion comment">
    <p>A generator for the elements in the buffer referenced by
<code>UnsafeBufferPointer</code> or <code>UnsafeMutableBufferPointer</code>.</p>
</div>

<table class="standard">
<tr>
<th id="inheritance">Inheritance</th>
<td>
<code class="inherits">GeneratorType, SequenceType</code>
<span