1 write to decoder
System.ServiceModel (1)
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
1385
this.
decoder
= new SingletonMessageDecoder(reader.StreamPosition);
8 references to decoder
System.ServiceModel (8)
System\ServiceModel\Channels\SingletonConnectionReader.cs (8)
1405
int bytesRead =
decoder
.Decode(buffer, offset, size);
1408
Fx.Assert(
decoder
.CurrentState == SingletonMessageDecoder.State.ReadingEnvelopeBytes ||
decoder
.CurrentState == SingletonMessageDecoder.State.ChunkEnd, "");
1417
int bytesRead =
decoder
.Decode(buffer, offset, size);
1425
switch (
decoder
.CurrentState)
1428
this.chunkBytesRemaining =
decoder
.ChunkSize;
1564
||
decoder
.CurrentState != SingletonMessageDecoder.State.End)
1566
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
decoder
.CreatePrematureEOFException());