LiteCore
Couchbase Lite cross-platform core implementation
|
A heap-allocated block of memory returned from an API call. More...
#include </Users/jzhao/work/Git/couchbase-lite-core/vendor/fleece/API/fleece/FLSlice.h>
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 |