Skip to main content

CFDataCreateWithBytesNoCopy

Function CFDataCreateWithBytesNoCopy 

Source
pub unsafe extern "C-unwind" fn CFDataCreateWithBytesNoCopy(
    allocator: Option<&CFAllocator>,
    bytes: *const u8,
    length: CFIndex,
    bytes_deallocator: Option<&CFAllocator>,
) -> Option<CFRetained<CFData>>
👎Deprecated:

renamed to CFData::with_bytes_no_copy

Available on crate feature CFData only.