MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Read

Method Read

modules/core/profile/internal/tracy/common/TracySocket.cpp:374–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374bool Socket::Read( void* buf, int len, int timeout )
375{
376 auto cbuf = (char*)buf;
377 while( len > 0 )
378 {
379 if( !ReadImpl( cbuf, len, timeout ) ) return false;
380 }
381 return true;
382}
383
384bool Socket::ReadImpl( char*& buf, int& len, int timeout )
385{

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected