Skip to main content

CFPropertyListCreateFromStream

Function CFPropertyListCreateFromStream 

Source
pub unsafe extern "C-unwind" fn CFPropertyListCreateFromStream(
    allocator: Option<&CFAllocator>,
    stream: Option<&CFReadStream>,
    stream_length: CFIndex,
    mutability_option: CFOptionFlags,
    format: *mut CFPropertyListFormat,
    error_string: *mut *const CFString,
) -> Option<CFRetained<CFPropertyList>>
๐Ÿ‘ŽDeprecated:

Use CFPropertyListCreateWithStream instead.

Available on crate features CFPropertyList and CFStream only.
Expand description

ยงSafety

  • allocator might not allow None.
  • stream might not allow None.
  • format must be a valid pointer.
  • error_string must be a valid pointer.