[ CCode ( array_length_pos = 0.2 , array_length_type = "guint" ) ]
[ Version ( since = "0.9.2" ) ]
public unowned char[] get_data_writable ()
Tries to make blob data writable (possibly copying it) and return pointer to data.
Fails if blob has been made immutable, or if memory allocation fails.
| blob |
a blob. |
| length |
output length of the writable data. |
|
Writable blob data, or `NULL` if failed. |