Skip to content

Commit df51880

Browse files
committed
Memory view
1 parent 0f03468 commit df51880

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,7 @@ Memory View
20022002

20032003
### Decode
20042004
```python
2005-
<bin_file>.write(<mview>) # Appends mview to the binary file.
2005+
<bin_file>.write(<mview>) # Writes mview to the binary file.
20062006
<bytes> = bytes(<mview>) # Creates a new bytes object.
20072007
<bytes> = <bytes>.join(<coll_of_mviews>) # Joins mviews using bytes object as sep.
20082008
<list> = list(<mview>) # Returns list of ints or floats.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@
17711771
</code></pre></div>
17721772

17731773

1774-
<div><h3 id="decode-2">Decode</h3><pre><code class="python language-python hljs">&lt;bin_file&gt;.write(&lt;mview&gt;) <span class="hljs-comment"># Appends mview to the binary file.</span>
1774+
<div><h3 id="decode-2">Decode</h3><pre><code class="python language-python hljs">&lt;bin_file&gt;.write(&lt;mview&gt;) <span class="hljs-comment"># Writes mview to the binary file.</span>
17751775
&lt;bytes&gt; = bytes(&lt;mview&gt;) <span class="hljs-comment"># Creates a new bytes object.</span>
17761776
&lt;bytes&gt; = &lt;bytes&gt;.join(&lt;coll_of_mviews&gt;) <span class="hljs-comment"># Joins mviews using bytes object as sep.</span>
17771777
&lt;list&gt; = list(&lt;mview&gt;) <span class="hljs-comment"># Returns list of ints or floats.</span>

0 commit comments

Comments
 (0)