1 write to _headerByte
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
615
_headerByte
= new byte[5]; // 1 for the packet type, 4 for the body length
6 references to _headerByte
Microsoft.Build (6)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (6)
649
int bytesRead = await CommunicationsUtilities.ReadAsync(_clientToServerStream,
_headerByte
,
_headerByte
.Length);
663
NodePacketType packetType = (NodePacketType)
_headerByte
[0];
664
int packetLength = BinaryPrimitives.ReadInt32LittleEndian(new Span<byte>(
_headerByte
, 1, 4));
891
if (bytesRead !=
_headerByte
.Length)
893
CommunicationsUtilities.Trace(_nodeId, "COMMUNICATIONS ERROR (HRC) Node: {0} Process: {1} Bytes Read: {2} Expected: {3}", _nodeId, _process.Id, bytesRead,
_headerByte
.Length);