MCPcopy Create free account
hub / github.com/amule-project/amule / CopyToDataBuffer

Method CopyToDataBuffer

src/Packet.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void CPacket::CopyToDataBuffer(unsigned int offset, const uint8_t* data, unsigned int n)
179{
180 wxASSERT(offset + n <= size + 1);
181 memcpy(pBuffer + offset, data, n);
182}
183
184uint8_t* CPacket::GetPacket() {
185 if (completebuffer) {

Callers 3

ServerStatsMethod · 0.80
ProcessChatMessageMethod · 0.80
OnGlobalSearchTimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected