2 writes to stream
System.Runtime.Serialization (2)
System\Xml\EncodingStreamWrapper.cs (2)
57this.stream = new BufferedStream(stream); 193this.stream = new BufferedStream(stream);
25 references to stream
System.Runtime.Serialization (25)
System\Xml\EncodingStreamWrapper.cs (25)
209this.stream.Write(bom, 0, bom.Length); 216int b1 = this.stream.ReadByte(); 217int b2 = this.stream.ReadByte(); 218int b3 = this.stream.ReadByte(); 219int b4 = this.stream.ReadByte(); 308int read = stream.Read(bytes, byteOffset + byteCount, count); 556return this.stream.CanRead; 577return this.stream.CanWrite; 600this.stream.Close(); 605this.stream.Flush(); 611return this.stream.ReadByte(); 624return this.stream.Read(buffer, offset, count); 628byteCount = this.stream.Read(bytes, byteCount, (chars.Length - 1) * 2); 663int b = this.stream.ReadByte(); 683int b1 = this.stream.ReadByte(); 684int b2 = this.stream.ReadByte(); 702this.stream.WriteByte(b); 714this.stream.Write(buffer, offset, count); 723this.stream.Write(bytes, 0, byteCount); 730public override bool CanTimeout { get { return this.stream.CanTimeout; } } 731public override long Length { get { return this.stream.Length; } } 734get { return this.stream.ReadTimeout; } 735set { this.stream.ReadTimeout = value; } 739get { return this.stream.WriteTimeout; } 740set { this.stream.WriteTimeout = value; }