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

Method TransferTo

src/cryptlib/cryptlib.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void BufferedTransformation::TransferTo(BufferedTransformation &target)
58{
59 SecByteBlock buf(256);
60 unsigned int l;
61
62 while ((l=Get(buf, 256)) != 0)
63 target.Put(buf, l);
64}
65
66unsigned int BufferedTransformation::TransferTo(BufferedTransformation &target, unsigned int size)
67{

Callers 5

PutMethod · 0.80
InputFinishedMethod · 0.80
DetachMethod · 0.80
NotifyInputMethod · 0.80
DetachMethod · 0.80

Calls 1

PutMethod · 0.45

Tested by

no test coverage detected