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

Method GetDataBuffer

src/Packet.h:69–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 uint8 GetProtocol() const { return prot; }
68 void SetProtocol(uint8 p) { prot = p; }
69 const uint8_t* GetDataBuffer(void) const { return pBuffer; }
70 void Copy16ToDataBuffer(const void* data);
71 void CopyToDataBuffer(unsigned int offset, const uint8_t* data, unsigned int n);
72 void CopyUInt32ToDataBuffer(uint32 data, unsigned int offset = 0);

Callers 5

PacketReceivedMethod · 0.80
PacketReceivedMethod · 0.80
OnGlobalSearchTimerMethod · 0.80
SendControlDataMethod · 0.80
SendPacketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected