MCPcopy Create free account
hub / github.com/amule-project/amule / WriteMetaDataSearchParamASCII

Method WriteMetaDataSearchParamASCII

src/SearchList.cpp:200–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 }
199
200 void WriteMetaDataSearchParamASCII(uint8 uMetaTagID, const wxString& rstrValue)
201 {
202 m_data->WriteUInt8(2); // string parameter type
203 m_data->WriteString(rstrValue, utf8strNone); // string value
204 m_data->WriteUInt16(sizeof(uint8)); // meta tag ID length
205 m_data->WriteUInt8(uMetaTagID); // meta tag ID name
206 }
207
208 void WriteMetaDataSearchParam(const wxString& pszMetaTagID, const wxString& rstrValue)
209 {

Callers 1

CreateSearchDataMethod · 0.80

Calls 3

WriteUInt8Method · 0.80
WriteStringMethod · 0.80
WriteUInt16Method · 0.80

Tested by

no test coverage detected