How to make a byte pointer from blueprint to c++?

Unfortunately doing this is a real headache.
It is much easier to work only with C++ and with concrete structures.
Anyway I found some interesting information.
I leave it here in case anyone is interested.