(encoder, block_bytes, compression_level)
Write block in "xz" codec.
Write block in "xz" codec.
Write block in xz codec .
def xz_write_block(encoder, block_bytes, compression_level):
    """Write block in "xz" codec."""
    data = lzma.compress(block_bytes)
    encoder.write_long(len(data))
    encoder._fo.write(data)
def xz_write_block ( encoder , block_bytes , compression_level ) : data = lzma . compress ( block_bytes ) encoder . write_long ( len ( data ) ) encoder . _fo . write ( data )