I am trying to be very efficient in pulling some DBI blob data back into C. I have set up DBI to use bind_col, and this is very nice. But once the read data is in an SV, I would like to get access to the actual pointer to the data w/in the SV, and hand this back to C, so that I don't have to move the data. The blob data is pure binary, not string data. Which of the many SV routines is the right one to get access to this pointer?
BTW, these blobs are huge, and copying them in memory is a preformance penalty I don't want to incur. TIA!