def __init__(self, workbench, progress):
        ''' FileStreamer Initialization '''

        # Setup workbench and progress handles
        self.workbench = workbench
        self.progress = progress

        # Setup compression
        self.compressor = lz4.dumps
        self.decompressor = lz4.loads
        self.compress_ident = 'lz4'

        # Some defaults and counters
        self.chunk_size = 1024*1024
def __init__ ( self , workbench , progress ) : self . workbench = workbench self . progress = progress self . compressor = lz4 . dumps self . decompressor = lz4 . loads self . compress_ident = 'lz4' self . chunk_size = 1024 * 1024
FileStreamer Initialization