We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f475fb3 commit 447dfcdCopy full SHA for 447dfcd
yaqd-core/yaqd_core/avrorpc/unpacker.py
@@ -73,7 +73,8 @@ def feed(self, data: bytes):
73
self._file.seek(0, 2)
74
if pos == self._file.tell():
75
# read reached EOF and we are safe to clear
76
- self._file = io.BytesIO()
+ self._file.seek(0)
77
+ self._file.truncate(0)
78
pos = 0
79
self._file.write(data)
80
self._file.seek(pos)
0 commit comments