return self._output.finish()
-def netstring(s):
- return "%d:%s," % (len(s), s)
-
class FileName:
implements(IDownloadTarget)
def __init__(self, filename):
from allmydata.codec import CRSEncoder
from allmydata.interfaces import IEncoder
-def netstring(s):
- return "%d:%s," % (len(s), s)
-
"""
The goal of the encoder is to turn the original file into a series of
from allmydata.Crypto.Cipher import AES
from cStringIO import StringIO
-def netstring(s):
- return "%d:%s," % (len(s), s)
-
class FakePeer:
def __init__(self, mode="good"):
self.ss = FakeStorageServer(mode)
)
-def netstring(s):
- return "%d:%s," % (len(s), s)
-
class FileName:
implements(IUploadable)
def __init__(self, filename):