MCPcopy Create free account
hub / github.com/audacity/audacity / AppendData

Method AppendData

libraries/lib-utility/MemoryStream.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void MemoryStream::AppendData(const void* data, const size_t length)
28{
29 if (mChunks.empty())
30 mChunks.emplace_back();
31
32 StreamChunk dataView = { data, length };
33
34 while (mChunks.back().Append(dataView) > 0)
35 mChunks.emplace_back();
36
37 mDataSize += length;
38}
39
40const void* MemoryStream::GetData() const
41{

Callers 9

SaveFXProgramMethod · 0.80
WriteMethod · 0.80
WriteLittleEndianFunction · 0.80
WriteBigEndianFunction · 0.80
ProjectSerializerMethod · 0.80
WriteAttrMethod · 0.80
WriteDataMethod · 0.80
WriteMethod · 0.80
WriteNameMethod · 0.80

Calls 2

emptyMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected