Must one use QBuffer and memcpy for QSharedMemory?
Hello, I am new to IPC. I found that most of the examples for QSharedMemory use QBuffer and memcpy() to read from and write to the QSharedMemory. However, that is very time-consuming if the data is large (e.g. a large image). I would like to ask if there is a way to use the data directly in the QSharedMemory as a variable? Thanks!
Use memcpy directly on your image data.