MCPcopy Create free account
hub / github.com/adamstark/AudioFile / addStringToFileData

Method addStringToFileData

AudioFile.h:1149–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147//=============================================================
1148template <class T>
1149void AudioFile<T>::addStringToFileData (std::vector<uint8_t>& fileData, std::string s)
1150{
1151 for (size_t i = 0; i < s.length();i++)
1152 fileData.push_back (static_cast<uint8_t> (s[i]));
1153}
1154
1155//=============================================================
1156template <class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected