create_blob_from_buffer


Description:

public OId? create_blob_from_buffer (uint8[] buffer) throws Error

Write an in-memory buffer to the object database as a blob.

Parameters:

this

a Repository.

buffer

the data.

size

the length (in bytes) of the data.

Returns:

the new GgitOid of the written blob, or null if writing the blob failed.