[−][src]Function ejdb_sys::bson_append_code_n
pub unsafe extern "C" fn bson_append_code_n(
b: *mut bson,
name: *const c_char,
str: *const c_char,
len: c_int
) -> c_int
Append len bytes of code to a bson.
@param b the bson to append to. @param name the key for the code. @param str the code to append. @param len the number of bytes from str to append.
@return BSON_OK or BSON_ERROR.