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

Method CopyDataToBuffer

cpp/iedriver/HookProcessor.cpp:361–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void HookProcessor::CopyDataToBuffer(int source_data_size, void* source) {
362 // clear the shared buffer before putting data into it
363 ClearBuffer();
364 if (source_data_size < data_buffer_size) {
365 data_buffer_size = source_data_size;
366 }
367 memcpy_s(data_buffer,
368 data_buffer_size,
369 source,
370 data_buffer_size);
371}
372
373void HookProcessor::CopyDataFromBuffer(int destination_data_size,
374 void* destination) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected