etebase_item_manager_create_raw method
Create a new item using raw metadata
Unlike etebase_item_manager_create
, this receives the metadata as valid EtebaseItemMetadata
-like struct encoded using msgpack
.
This can be used to create collections with custom metadata types.
Should be destroyed with etebase_item_destroy
@param this_ the object handle @param meta the metadata for the item as a byte array @param meta_size the metadata size @param content the item's content as a byte array @param content_size the content size
Implementation
ffi.Pointer<EtebaseItem> etebase_item_manager_create_raw(
ffi.Pointer<EtebaseItemManager> this_,
ffi.Pointer<ffi.Void> meta,
int meta_size,
ffi.Pointer<ffi.Void> content,
int content_size,
) {
return _etebase_item_manager_create_raw(
this_,
meta,
meta_size,
content,
content_size,
);
}