Couchbase Lite C
Couchbase Lite C API
|
A heap-allocated block of memory returned from an API call. More...
Data Fields | |
const void *FL_NULLABLE | buf |
size_t | size |
A heap-allocated block of memory returned from an API call.
The caller takes ownership, and must call FLSliceResult_Release when done with it.
alloc_slice
. In C++ the easiest way to deal with a FLSliceResult
return value is to construct an alloc_slice
from it, which will adopt the reference, and release it in its destructor. For example: alloc_slice foo( CopyFoo() );
const void* FL_NULLABLE FLSliceResult::buf |
size_t FLSliceResult::size |