[][src]Function ejdb_sys::bson_append_binary

pub unsafe extern "C" fn bson_append_binary(
    b: *mut bson,
    name: *const c_char,
    type_: c_char,
    str: *const c_char,
    len: c_int
) -> c_int

Append binary data to a bson.

@param b the bson to append to. @param name the key for the data. @param type the binary data type. @param str the binary data. @param len the length of the data.

@return BSON_OK or BSON_ERROR.