fa84e86f78
Motivation: We should prefer direct buffers for the output of Lz4FrameEncoder as this is what is needed for writing to the socket. Modification: Use direct buffers for the output Result: Less memory copies needed.