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

Method WriteBytes

pcsx2/DEV9/PacketReader/IP/UDP/DHCP/DHCP_Options.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 NetLib::ReadIPAddress(data, &offset, &subnetMask);
19 }
20 void DHCPopSubnet::WriteBytes(u8* buffer, int* offset) const
21 {
22 NetLib::WriteByte08(buffer, offset, GetCode());
23 NetLib::WriteByte08(buffer, offset, GetLength() - 2);
24 NetLib::WriteIPAddress(buffer, offset, subnetMask);
25 }
26
27 DHCPopRouter::DHCPopRouter(const std::vector<IP_Address>& routerIPs)
28 : routers{routerIPs}

Callers

nothing calls this directly

Calls 8

WriteByte08Function · 0.85
GetLengthFunction · 0.85
WriteIPAddressFunction · 0.85
WriteByteArrayFunction · 0.85
WriteUInt32Function · 0.85
WriteUInt16Function · 0.85
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected