Blob.write

Writes a chunk of bytes from a user-provided location to the BLOB.

class Blob
int
write
(
void* buf
,
int size
,
out int bytesWritten
)

Parameters

buf void*

buffer to write the data from.

size int

maximum number of bytes to read.

bytesWritten int

on return it will point to the number of bytes actually written.

Return Value

Type: int

0 if everything's ok. In case of error, -1 is returned and the provider should have added an error to the connection.

Meta