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