Function nstd_sys::string::nstd_string_cap
source · #[no_mangle]
pub extern "C" fn nstd_string_cap(string: &NSTDString) -> NSTDUIntAvailable on crate feature
nstd_string only.Expand description
Returns a string’s capacity.
This is the max number of bytes the string can contain without reallocating.
Parameters:
const NSTDString *string- The string.
Returns
NSTDUInt cap - The string’s capacity.