python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Bit flags operation
I am going through some format spec and I am encountering the following:
if (flags & 1) {
...
}
Now, according to the same documentation flags is:
so the flags is 3 bytes. The operation flags ...

Tarta
Votes: 0
Answers: 1
How to send multiple byteIO files from Flask endpoint to Vue using axios and file encoding
TL;DR
Flask:
docx --> bytesIO --encodebytes()--> bytes --decode()--> string --> array containing multiple of those string.
Vue:
array containing those strings --?--> blob
Question
I am...
linus
Votes: 0
Answers: 1
Decode bytes in string to bytes array in Python
I get the data from txt file that look like this: b'4\x00\xe8\x03\x00\x00\x00\x00.\x00\x00\x00\xf1\x00\xc0\x03\xc0\x03\xc0\x03\x00\x00\n\x00d\x00,\x01,\x01^\x01\x00\x01d\x00'.
This is a string and I n...
Danil Begim
Votes: 0
Answers: 2
Write bytes data into a data frame
I scraped one site and I get the data in bytes and I do not know how I can write them into a DF in some efficient way.
Here is a piece of my data:
b'[{"ID":"1","A":"...

Ulewsky
Votes: 0
Answers: 1