Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a19a1e

Browse files
committed
Struct
1 parent 356f21d commit 8a19a1e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,8 +1878,6 @@ from struct import pack, unpack, iter_unpack, calcsize
18781878
b'\x00\x01\x00\x02\x00\x00\x00\x03'
18791879
>>> unpack('>hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03')
18801880
(1, 2, 3)
1881-
>>> calcsize('>hhl')
1882-
8
18831881
```
18841882

18851883
### Format

index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,8 +1664,6 @@
16641664
<span class="hljs-string">b'\x00\x01\x00\x02\x00\x00\x00\x03'</span>
16651665
<span class="hljs-meta">&gt;&gt;&gt; </span>unpack(<span class="hljs-string">'&gt;hhl'</span>, <span class="hljs-string">b'\x00\x01\x00\x02\x00\x00\x00\x03'</span>)
16661666
(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>)
1667-
<span class="hljs-meta">&gt;&gt;&gt; </span>calcsize(<span class="hljs-string">'&gt;hhl'</span>)
1668-
<span class="hljs-number">8</span>
16691667
</code></pre></div>
16701668

16711669
<div><h3 id="format-2">Format</h3><div><h4 id="forstandardsizesstartformatstringwith">For standard sizes start format string with:</h4><ul>

0 commit comments

Comments
 (0)