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

Method WriteData

libraries/lib-project-file-io/ProjectSerializer.cpp:455–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455void ProjectSerializer::WriteData(const wxString & value)
456{
457 mBuffer.AppendByte(FT_Data);
458
459 Length len = value.length() * sizeof(wxStringCharType);
460 WriteLength( mBuffer, len );
461 mBuffer.AppendData(value.wx_str(), len);
462}
463
464void ProjectSerializer::Write(const wxString & value)
465{

Callers 1

DecodeMethod · 0.45

Calls 3

AppendByteMethod · 0.80
AppendDataMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected