LzoCompressor._compactBuffer

private void _compactBuffer()

Compact the internal buffer by discarding already-consumed bytes.

Called after each write() to prevent unbounded growth. When the consumed offset exceeds LZO_BLOCK_SIZE the remaining data is copied to the front of the buffer.