protected override void WriteLobTo(object lob, Stream output)
{
Clob clob = lob as Clob;
if (clob == null) return;
if (compression == null)
using (StreamWriter sw = new StreamWriter(output, encoding))
clob.WriteTo(sw);
else
using (Stream cs = compression.GetCompressor(output))
using (StreamWriter sw = new StreamWriter(cs, encoding))
clob.WriteTo(sw);
}