Beispiel #1
0
 protected BaseWriter(Stream stream, bool shouldEncodeLeadingDots)
 {
     if (stream == null)
         throw new ArgumentNullException("stream");
     _stream = stream;
     _shouldEncodeLeadingDots = shouldEncodeLeadingDots;
     _onCloseHandler = new EventHandler(OnClose);
     _bufferBuilder = new BufferBuilder();
     _lineLength = DefaultLineLength;
 }