System\ServiceModel\Channels\BinaryMessageEncoder.cs (3)
507Buffer.BlockCopy(buffer, messageData.Offset, newBuffer, messageData.Offset, messageData.Count);
512Buffer.BlockCopy(buffer, messageData.Offset, buffer, messageData.Offset + dictionarySize, messageData.Count);
1555Buffer.BlockCopy(bodyFragment, 0, buffer, offset, bodyFragment.Length);
System\ServiceModel\Channels\Connection.cs (5)
194Buffer.BlockCopy(tempBuffer, this.preReadOffset, this.preReadData, 0, this.preReadCount);
195Buffer.BlockCopy(initialData, initialOffset, this.preReadData, this.preReadCount, initialSize);
214Buffer.BlockCopy(this.preReadData, this.preReadOffset, buffer, offset, bytesToCopy);
230Buffer.BlockCopy(this.preReadData, this.preReadOffset, AsyncReadBuffer, offset, bytesToCopy);
512Buffer.BlockCopy(connection.AsyncReadBuffer, 0, buffer, offset, bytesRead);
System\ServiceModel\Channels\FramingEncoders.cs (6)
213Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length);
214Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length);
347Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length);
348Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length);
383Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length);
384Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length);
System\ServiceModel\Channels\MsmqOutputChannel.cs (3)
30Buffer.BlockCopy(modeBytes, 0, this.preamble, 0, modeBytes.Length);
145Buffer.BlockCopy(preamble, 0, messageData.Array, messageData.Offset - preamble.Length, preamble.Length);
162Buffer.BlockCopy(buffer, offset, msmqMessage.Body.Buffer, 0, size);
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (3)
60Buffer.BlockCopy(buffer.Array, buffer.Offset, sessionGramBuffer, sessionGramOffset, buffer.Count);
234Buffer.BlockCopy(ClientSimplexEncoder.ModeBytes, 0, startBytes, 0, ClientSimplexEncoder.ModeBytes.Length);
236Buffer.BlockCopy(ClientSimplexEncoder.PreambleEndBytes, 0, startBytes, startSize - ClientSimplexEncoder.PreambleEndBytes.Length, ClientSimplexEncoder.PreambleEndBytes.Length);
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
1194Buffer.BlockCopy(connection.AsyncReadBuffer, offset, buffer, offset, size);
1228Buffer.BlockCopy(buffer, offset, initialData, 0, size);
1434Buffer.BlockCopy(buffer, offset, this.chunkBuffer, 0, size);
1490Buffer.BlockCopy(this.chunkBuffer, this.chunkBufferOffset, buffer, offset, bytesToCopy);
1643Buffer.BlockCopy(envelopeStartBytes, 0, messageData.Array, messageData.Offset - envelopeStartBytes.Length,
1791Buffer.BlockCopy(envelopeStartBytes, 0, messageData.Array, messageData.Offset - envelopeStartBytes.Length,
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (3)
685Buffer.BlockCopy(internalBuffer, 0, newBuffer, 0, receivedByteCount);
711Buffer.BlockCopy(internalBuffer, 0, buffer, 0, receivedByteCount);
1448Buffer.BlockCopy(this.initialReadBuffer.Array, this.initialReadBuffer.Offset, buffer, offset, bytesToCopy);
System\ServiceModel\Security\CryptoHelper.cs (3)
152Buffer.BlockCopy(cipherText, offset, iv, 0, iv.Length);
235Buffer.BlockCopy(iv, 0, output, 0, iv.Length);
236Buffer.BlockCopy(cipherText, 0, output, iv.Length, cipherText.Length);
System\ServiceModel\Security\SecurityUtils.cs (3)
709Buffer.BlockCopy(buffers[i], 0, buffer, offset, buffers[i].Length);
712Buffer.BlockCopy(buffers[bufferCount - 1], 0, buffer, offset, totalRead - offset);
2135Buffer.BlockCopy(buffer, 0, copy, 0, buffer.Length);
System\ServiceModel\Security\SecurityVerifiedMessage.cs (3)
553Buffer.BlockCopy(wrapper, 0, splicedBuffer, offset, count);
556Buffer.BlockCopy(middle, 0, splicedBuffer, offset, count);
559Buffer.BlockCopy(wrapper, openCharIndex, splicedBuffer, offset, count);
System\ServiceModel\Security\TlsSspiNegotiation.cs (4)
336Buffer.BlockCopy(encryptedContent, 0, dataBuffer, 0, encryptedContent.Length);
343Buffer.BlockCopy(dataBuffer, dataStartOffset, outputBuffer, 0, decryptedLen);
358Buffer.BlockCopy(input, 0, buffer, StreamSizes.header, input.Length);
370Buffer.BlockCopy(buffer, 0, outputBuffer, 0, encryptedSize);
System\ServiceModel\Security\WindowsSspiNegotiation.cs (4)
292Buffer.BlockCopy(input, 0, dataBuffer, 0, input.Length);
314Buffer.BlockCopy(tokenBuffer, 0, encryptedData, 0, tokenLen);
315Buffer.BlockCopy(dataBuffer, 0, encryptedData, tokenLen, dataBuffer.Length);
316Buffer.BlockCopy(paddingBuffer, 0, encryptedData, tokenLen + dataBuffer.Length, paddingLen);