A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://couchbase.github.io/couchbase-lite-core/C/html/struct_f_l_slice_result.html below:

LiteCore: FLSliceResult Struct Reference

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>

Detailed Description

A heap-allocated block of memory returned from an API call.

The caller takes ownership, and must call FLSliceResult_Release when done with it.

Warning
The contents of the block must not be modified, since others may be using it.
Note
This is equivalent to the C++ class 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() );
Field Documentation ◆ buf ◆ size size_t FLSliceResult::size

The documentation for this struct was generated from the following file:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4