1 override of TakeBuffer
System.ServiceModel (1)
System\ServiceModel\Channels\BufferManager.cs (1)
60
public override byte[]
TakeBuffer
(int bufferSize)
17 references to TakeBuffer
System.ServiceModel (16)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
506
byte[] newBuffer = bufferManager.
TakeBuffer
(requiredBufferSize);
System\ServiceModel\Channels\BufferManager.cs (1)
108
return this.innerBufferManager.
TakeBuffer
(bufferSize);
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
560
byte[] buffer = this.bufferManager.
TakeBuffer
(length);
628
return new ArraySegment<byte>(bufferManager.
TakeBuffer
(bufferSize), 0, bufferSize);
System\ServiceModel\Channels\MessageEncoder.cs (2)
54
byte[] buffer = bufferManager.
TakeBuffer
(ConnectionOrientedTransportDefaults.ConnectionBufferSize);
76
byte[] temp = bufferManager.
TakeBuffer
(currentBufferSize);
System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (1)
25
byte[] tempBuffer = bufferManager.
TakeBuffer
(DecompressBlockSize);
System\ServiceModel\Channels\MsmqDecodeHelper.cs (2)
123
byte[] envelopeBuffer = listener.BufferManager.
TakeBuffer
(size);
336
byte[] envelopeBuffer = listener.BufferManager.
TakeBuffer
(size);
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
233
byte[] startBytes = this.Factory.BufferManager.
TakeBuffer
(startSize);
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
1040
EnvelopeBuffer = bufferManager.
TakeBuffer
(envelopeSize);
1595
EnvelopeBuffer = bufferManager.
TakeBuffer
(envelopeSize);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (4)
648
internalBuffer = this.bufferManager.
TakeBuffer
(this.receiveBufferSize);
684
byte[] newBuffer = this.bufferManager.
TakeBuffer
(newSize);
710
buffer = this.bufferManager.
TakeBuffer
(receivedByteCount);
865
byte[] buffer = this.bufferManager.
TakeBuffer
(this.receiveBufferSize);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (1)
289
byte[] dataBuffer = this.bufferManager.
TakeBuffer
(dataLength);