12 references to ClientDuplexEncoder
System.ServiceModel (12)
System\ServiceModel\Channels\FramingChannels.cs (11)
208
int startSize =
ClientDuplexEncoder
.ModeBytes.Length + SessionEncoder.CalcStartSize(encodedVia, encodedContentType);
213
startSize +=
ClientDuplexEncoder
.PreambleEndBytes.Length;
217
Buffer.BlockCopy(
ClientDuplexEncoder
.ModeBytes, 0, startBytes, 0,
ClientDuplexEncoder
.ModeBytes.Length);
218
SessionEncoder.EncodeStart(startBytes,
ClientDuplexEncoder
.ModeBytes.Length, encodedVia, encodedContentType);
221
Buffer.BlockCopy(
ClientDuplexEncoder
.PreambleEndBytes, 0, startBytes, preambleEndOffset,
ClientDuplexEncoder
.PreambleEndBytes.Length);
280
connection.Write(
ClientDuplexEncoder
.PreambleEndBytes, 0,
281
ClientDuplexEncoder
.PreambleEndBytes.Length, true, timeoutHelper.RemainingTime());
585
ClientDuplexEncoder
.PreambleEndBytes, 0,
ClientDuplexEncoder
.PreambleEndBytes.Length, true,
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
64
startSize +=
ClientDuplexEncoder
.PreambleEndBytes.Length;