<array> = array(<spanclass="hljs-string">'<typecode>'</span>, <mview>) <spanclass="hljs-comment"># Treats memoryview as a sequence of numbers.</span>
<file>.write(<mview>) <spanclass="hljs-comment"># Writes `bytes(<mview>)` to the binary file.</span>
</code></pre>
<pre><codeclass="python language-python hljs"><list> = list(<mview>) <spanclass="hljs-comment"># Returns a list of ints, floats or bytes.</span>
<pre><codeclass="python language-python hljs"><list> = list(<mview>) <spanclass="hljs-comment"># Returns a list of ints, floats, or bytes.</span>
<str> = str(<mview>, <spanclass="hljs-string">'utf-8'</span>) <spanclass="hljs-comment"># Treats memoryview as a bytes object.</span>