Join Slack
Powered by
is there a stdlib way of replacing a pattern of by...
# announcements
b
bj0
12/21/2017, 10:55 PM
is there a stdlib way of replacing a pattern of bytes in a bytearray?
l
louiscad
12/21/2017, 10:58 PM
I don't think so. There's not much in byte operations in stdlib at of 1.2. Only the basic stuff which you can build upon
b
bj0
12/21/2017, 10:59 PM
yea I can't find anything or think of a functional way to do it
k
karelpeeters
12/21/2017, 11:09 PM
Can you give an I/O example?
b
bj0
12/21/2017, 11:43 PM
IO example? I'm just trying to replace 2-byte "escape" sequences with their corresponding byte
7
Views
Open in Slack
Previous
Next