MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / CopyWStringToBuffer

Method CopyWStringToBuffer

cpp/iedriver/HookProcessor.cpp:386–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386void HookProcessor::CopyWStringToBuffer(const std::wstring& data) {
387 std::vector<wchar_t> local_buffer(0);
388 StringUtilities::ToBuffer(data, &local_buffer);
389 int local_size = static_cast<int>(local_buffer.size() * sizeof(wchar_t));
390 CopyDataToBuffer(local_size, &local_buffer[0]);
391}
392
393std::wstring HookProcessor::CopyWStringFromBuffer() {
394 // Allocate a buffer of wchar_t the length of the data in the

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected