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

Function OpenSSHBinaryEndSubBlock

src/common/keypair.cpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static void OpenSSHBinaryEndSubBlock( CUtlBuffer &buf, int nSaveTell )
181{
182 int nBytesWritten = buf.TellPut() - nSaveTell - sizeof(uint32);
183 Assert( nBytesWritten >= 0 );
184 *(uint32 *)( (uint8 *)buf.Base() + nSaveTell ) = BigDWord( uint32(nBytesWritten) );
185}
186
187static void OpenSSHBinaryWriteEd25519Private( CUtlBuffer &buf, const uint8 *pPrivKey, const uint8 *pPubKey )
188{

Callers 1

Calls 2

TellPutMethod · 0.80
BaseMethod · 0.45

Tested by

no test coverage detected