MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / PeekGet

Method PeekGet

src/tier1/utlbuffer.cpp:876–881  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Peek part of the butt -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

874// Peek part of the butt
875//-----------------------------------------------------------------------------
876const void* CUtlBuffer::PeekGet( int nMaxSize, int nOffset )
877{
878 if ( !CheckPeekGet( nOffset, nMaxSize ) )
879 return NULL;
880 return &m_Memory[ m_Get + nOffset ];
881}
882
883
884//-----------------------------------------------------------------------------

Callers 3

BCheckAndEatBytesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected