Skip to main content

CFStreamCreateBoundPair

Function CFStreamCreateBoundPair 

Source
pub unsafe extern "C-unwind" fn CFStreamCreateBoundPair(
    alloc: Option<&CFAllocator>,
    read_stream: *mut *mut CFReadStream,
    write_stream: *mut *mut CFWriteStream,
    transfer_buffer_size: CFIndex,
)
Available on crate feature CFStream only.
Expand description

ยงSafety

  • alloc might not allow None.
  • read_stream must be a valid pointer.
  • write_stream must be a valid pointer.