in.position( oldPos );
buf.put( in );
if( buf.position() > maxLineLength )
{
throw new BufferDataException( "Line is too long: " + buf.position() );
}
buf.flip();
buf.limit( buf.limit() - matchCount );
out.write( buf.getString( decoder ) );
buf.clear();