Writes a chunk of bytes from a user-provided location to the BLOB.
buffer to write the data from.
maximum number of bytes to read.
on return it will point to the number of bytes actually written.
0 if everything's ok. In case of error, -1 is returned and the provider should have added an error to the connection.
See Implementation
Writes a chunk of bytes from a user-provided location to the BLOB.