3 writes to EncodedBytes
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\FramingEncoders.cs (3)
51
EncodedBytes
= encodedBytes;
58
EncodedBytes
= Fx.AllocateByteArray(checked(1 + sizeByteCount + valueByteCount));
70
EncodedBytes
= encodedBytes;
24 references to EncodedBytes
System.ServiceModel.NetFramingBase (24)
System\ServiceModel\Channels\FramingChannels.cs (1)
427
await connection.WriteAsync(encodedUpgrade.
EncodedBytes
, true, timeout);
System\ServiceModel\Channels\FramingEncoders.cs (23)
59
EncodedBytes
.Span[0] = (byte)recordType;
61
offset += IntEncoder.Encode(valueByteCount,
EncodedBytes
.Slice(offset));
62
Encoding.UTF8.GetBytes(value,
EncodedBytes
.Slice(offset).Span);
63
SetEncodedBytes(
EncodedBytes
);
75
return (
EncodedBytes
.Span[0] << 16) |
76
(
EncodedBytes
.Span[
EncodedBytes
.Length / 2] << 8) |
77
EncodedBytes
.Span[
EncodedBytes
.Length - 1];
102
Memory<byte> otherBytes = other.
EncodedBytes
;
103
if (
EncodedBytes
.Length != otherBytes.Length)
108
for (int i = 0; i <
EncodedBytes
.Length; i++)
110
if (
EncodedBytes
.Span[i] != otherBytes.Span[i])
214
return via.
EncodedBytes
.Length + contentType.
EncodedBytes
.Length;
219
via.
EncodedBytes
.CopyTo(buffer);
220
contentType.
EncodedBytes
.CopyTo(buffer.Slice(via.
EncodedBytes
.Length));
348
return via.
EncodedBytes
.Length + contentType.
EncodedBytes
.Length;
353
via.
EncodedBytes
.CopyTo(buffer);
354
contentType.
EncodedBytes
.CopyTo(buffer.Slice(via.
EncodedBytes
.Length));