StringIO replacement that works with bytes instead of strings?

Viewed 49223

Is there any replacement for python StringIO class, one that will work with bytes instead of strings?

It may not be obvious but if you used StringIO for processing binary data you are out of luck with Python 2.7 or newer.

3 Answers
Related