Definition at line 94 of file IOBufUtilTest.cpp.
size_t fizz::test::BlockWriter::copy |
( |
uint8_t * |
out, |
|
|
const uint8_t * |
in, |
|
|
size_t |
len |
|
) |
| |
|
inline |
Definition at line 95 of file IOBufUtilTest.cpp.
Referenced by fizz::test::TEST().
103 size_t outOffset = 0;
114 memcpy(out + outOffset, in, numToWrite);
116 if (len > numToWrite) {
117 auto numToBuf = len - numToWrite;
118 DCHECK(numToBuf < 8);
119 memcpy(
block, in + numToWrite, numToBuf);
122 return numToWrite + outOffset;
uint8_t fizz::test::BlockWriter::block[8] = {0} |
size_t fizz::test::BlockWriter::internalOffset = 0 |
The documentation for this struct was generated from the following file: