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

Method CopyTo

src/twcrypto/bytequeue.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 unsigned int Peek(byte& outByte) const;
67
68 void CopyTo(BufferedTransformation& target) const
69 {
70 target.Put(buf + head, tail - head);
71 }
72 void CopyTo(byte* target) const
73 {
74 memcpy(target, buf + head, tail - head);

Callers

nothing calls this directly

Calls 1

PutMethod · 0.45

Tested by

no test coverage detected