1 write to bytes
System.ServiceModel (1)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
713this.bytes = DiagnosticUtility.Utility.AllocateByteArray(bufferSize);
7 references to bytes
System.ServiceModel (7)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (7)
732return this.bytes.Length - this.position; 804Fx.Assert(this.position + count <= this.bytes.Length, string.Format(CultureInfo.InvariantCulture, "Chunk is too big to fit in this buffer. Chunk size={0}, free space={1}", count, this.bytes.Length - this.position)); 807Buffer.BlockCopy(buffer, offset, this.bytes, this.position, count); 813Fx.Assert(this.position < this.bytes.Length, "Buffer is full"); 816this.bytes[this.position++] = value; 844IAsyncResult asyncResult = this.stream.BeginWrite(this.bytes, 0, bytesToWrite, flushCallback, this);