is there a stdlib way of replacing a pattern of by...
# announcements
b
is there a stdlib way of replacing a pattern of bytes in a bytearray?
l
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
yea I can't find anything or think of a functional way to do it
k
Can you give an I/O example?
b
IO example? I'm just trying to replace 2-byte "escape" sequences with their corresponding byte