zeronet/plugins/Bigfile
radfish ec6fd48b86 Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982)
* Bigfile: make Piecefield array a bytearray

We want an array of characters. Py2 strings made sense to
use as an array of characters, but Py3 strings are different
and no longer a good choice.

* Bigfile: store bits as binary instead of char

* BigFile: rename to/from string -> to/from bytes

Since the type was changed to bytearray.
2019-04-16 15:14:19 +02:00
..
Test Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982) 2019-04-16 15:14:19 +02:00
__init__.py Change to Python3 coding style 2019-03-15 21:06:59 +01:00
BigfilePiecefield.py Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982) 2019-04-16 15:14:19 +02:00
BigfilePlugin.py Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982) 2019-04-16 15:14:19 +02:00