MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / create

Method create

src/common/classes/ClumpletWriter.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void ClumpletWriter::create(const UCHAR* buffer, FB_SIZE_T buffLen, UCHAR tag)
164{
165 if (buffer && buffLen) {
166 dynamic_buffer.push(buffer, buffLen);
167 }
168 else {
169 initNewBuffer(tag);
170 }
171 rewind();
172}
173
174ClumpletWriter::ClumpletWriter(MemoryPool& given_pool, Kind k, FB_SIZE_T limit,
175 const UCHAR* buffer, FB_SIZE_T buffLen, UCHAR tag)

Callers

nothing calls this directly

Calls 2

rewindFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected