vendredi 3 avril 2015

Does Buffer::Data need to be freed?

ITs not clear to me what the ownership is when calling Buffer::Data:


char * data = Buffer::Data(buffer)


Is it giving me actual access to the data backing of the buffer (and thus should not be freed), or is it just a copy?


Aucun commentaire:

Enregistrer un commentaire