struct unpack to pre-allocated array?
againstmethod at gmail.com
Fri Jan 9 16:11:59 CET 2009
Is there any way to struct.unpack or struct.unpack_from into an existing
array.array or similar structure? I am unpacking file data in a loop and i
was hoping to find something that performs better than simply unpacking into
a new tuple each iteration.
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list