Write an in-memory buffer to the ODB as a blob
return the id of the written blob
repository where to blob will be written
data to be written into the blob
length of the data
0 or an error code
See Implementation
Write an in-memory buffer to the ODB as a blob