MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / WriteBytes

Method WriteBytes

pcsx2/DEV9/PacketReader/IP/TCP/TCP_Options.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 NetLib::ReadUInt16(data, &offset, &maxSegmentSize);
17 }
18 void TCPopMSS::WriteBytes(u8* buffer, int* offset) const
19 {
20 NetLib::WriteByte08(buffer, offset, GetCode());
21 NetLib::WriteByte08(buffer, offset, GetLength());
22
23 NetLib::WriteUInt16(buffer, offset, maxSegmentSize);
24 }
25
26 TCPopWS::TCPopWS(u8 ws)
27 : windowScale{ws}

Callers

nothing calls this directly

Calls 4

WriteByte08Function · 0.85
GetLengthFunction · 0.85
WriteUInt16Function · 0.85
WriteUInt32Function · 0.85

Tested by

no test coverage detected