MCPcopy Create free account
hub / github.com/diasurgical/devilution / read_packet

Method read_packet

SourceX/dvlnet/frame_queue.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61buffer_t frame_queue::read_packet()
62{
63 if (!nextsize || (size() < nextsize))
64 throw frame_queue_exception();
65 auto ret = read(nextsize);
66 nextsize = 0;
67 return ret;
68}
69
70buffer_t frame_queue::make_frame(buffer_t packetbuf)
71{

Callers 2

handle_recvMethod · 0.80
handle_recvMethod · 0.80

Calls 3

sizeFunction · 0.85
readFunction · 0.85

Tested by

no test coverage detected