You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1778,6 +1778,7 @@
1778
1778
<div><h3id="decode-2">Decode</h3><pre><codeclass="python language-python hljs"><bin_file>.write(<mview>) <spanclass="hljs-comment"># Writes mview to the binary file.</span>
1779
1779
<bytes> = bytes(<mview>) <spanclass="hljs-comment"># Creates a new bytes object.</span>
1780
1780
<bytes> = <bytes>.join(<coll_of_mviews>) <spanclass="hljs-comment"># Joins mviews using bytes object as sep.</span>
1781
+
<array> = array(<spanclass="hljs-string">'<typecode>'</span>, <mview>) <spanclass="hljs-comment"># Treats mview as a sequence of numbers.</span>
1781
1782
<list> = list(<mview>) <spanclass="hljs-comment"># Returns list of ints or floats.</span>
1782
1783
<str> = str(<mview>, <spanclass="hljs-string">'utf-8'</span>) <spanclass="hljs-comment"># Treats mview as a bytes object.</span>
0 commit comments