internal SyncStream(Stream stream) { if (stream == null) throw new ArgumentNullException("stream"); _stream = stream; }