MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / CopyFrom

Method CopyFrom

src/cryptlib/misc.h:187–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 {return ptr+size;}
186
187 void CopyFrom(const SecBlock<T> &t)
188 {
189 New(t.size);
190 memcpy(ptr, t.ptr, size*sizeof(T));
191 }
192
193 SecBlock& operator=(const SecBlock<T> &t)
194 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected