svn_string_ncreate

Function svn_string_ncreate 

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

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

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