MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / ReadPacket

Method ReadPacket

Source/dvlnet/frame_queue.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67buffer_t frame_queue::ReadPacket()
68{
69 if (nextsize == 0 || Size() < nextsize)
70 FRAME_QUEUE_ERROR;
71 auto ret = Read(nextsize);
72 nextsize = 0;
73 return ret;
74}
75
76buffer_t frame_queue::MakeFrame(buffer_t packetbuf)
77{

Callers 3

HandleReceiveMethod · 0.80
HandleReceiveMethod · 0.80
recvMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected