Timeline for Python struct.pack() behavior
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 8, 2017 at 7:21 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Sep 7, 2017 at 23:54 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Mar 10, 2017 at 19:57 | history | edited | CristiFati | CC BY-SA 3.0 |
title
|
| Nov 1, 2016 at 21:34 | history | edited | CristiFati | CC BY-SA 3.0 |
changed title and removed tag
|
| Jul 6, 2016 at 8:17 | comment | added | CristiFati | Does this answer your question? | |
| Jun 24, 2016 at 0:01 | answer | added | CristiFati | timeline score: 4 | |
| Jun 23, 2016 at 18:51 | comment | added | Pretty_Girl5 |
@CristiFati with data 5 it's '\x05\x00\x00\x00' and with data 55555 it's '\x03\xd9\x00\x00' so, these are bytestrings? so what exactly that code did to get these byte-strings? did it read 55555 as integer and converted to bytes ? those seems like hex numbers with /x prefix but I still don't understand what happens inside it, how did the code calculated that '\x03' for example? I really need to do this manually step by step.
|
|
| Jun 23, 2016 at 12:27 | comment | added | CristiFati |
print repr(Result1) (after it's initialized) and you'll see what actually happens.
|
|
| S Jun 23, 2016 at 11:15 | review | Triage | |||
| Jun 23, 2016 at 11:57 | |||||
| S Jun 23, 2016 at 11:15 | history | asked | Pretty_Girl5 | CC BY-SA 3.0 |