For the needs of https://github.com/urllib3/urllib3/pull/2712, I'm looking for a queue-like data structure that: * holds bytes * supports put()ing an arbitrary number of bytes * supports get()ing an arbitrary number of bytes * consumes O(size()) memory * is less complex than a [rope](https://en.wikipedia.org/wiki/Rope_(data_structure))!
For the needs of #2712, I'm looking for a queue-like data structure that: