cbor_build_stringn

Creates a new string and initializes it

The handle will be copied to a newly allocated block

@param val A UTF-8 string, at least \p length long (excluding the null byte) @return A **new** string with content handle. NULL on malloc failure.

extern (C)
cbor_build_stringn
(
const char* val
,
size_t length
)

Meta