svn_stringbuf_ncreate

Function svn_stringbuf_ncreate 

Source
pub unsafe extern "C" fn svn_stringbuf_ncreate(
    bytes: *const c_char,
    size: apr_size_t,
    pool: *mut apr_pool_t,
) -> *mut svn_stringbuf_t
Expand description

Create a new stringbuf copied from the generic string of bytes, @a bytes, of length @a size bytes. @a bytes is NOT assumed to be null-terminated, but the new stringbuf will be.

@since Since 1.9, @a bytes can be NULL if @a size is zero.