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

Method WriteBytes

pcsx2/DEV9/PacketReader/IP/IP_Options.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 NetLib::ReadByteArray(data, &offset, length - 2, &value[0]);
29 }
30 void IPopUnk::WriteBytes(u8* buffer, int* offset) const
31 {
32 NetLib::WriteByte08(buffer, offset, code);
33 NetLib::WriteByte08(buffer, offset, length);
34 NetLib::WriteByteArray(buffer, offset, length - 2, &value[0]);
35 }
36
37 IPopRouterAlert::IPopRouterAlert(u16 parValue)
38 : value{parValue}

Callers

nothing calls this directly

Calls 4

WriteByte08Function · 0.85
WriteByteArrayFunction · 0.85
GetLengthFunction · 0.85
WriteUInt16Function · 0.85

Tested by

no test coverage detected