cacheSaveWithContent method
Save the item object and its content to a byte buffer for caching
The item can later be loaded using etebase_item_manager_cache_load
@param this_ the object handle
@param item the item object to be cached
@paramout
ret_size to hold the size of the returned buffer
Implementation
Future<_i6.Uint8List> cacheSaveWithContent(EtebaseItem item) async {
final data = await _isolate.invoke<_i7.TransferableTypedData>(
#etebase_item_manager_cache_save_with_content,
<dynamic>[
_pointer.address,
item._pointer.address,
],
);
return data.materialize().asUint8List();
}