pub unsafe extern "C-unwind" fn CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(
allocator: Option<&CFAllocator>,
text_format_description: &CMTextFormatDescription,
flavor: Option<&CMTextDescriptionFlavor>,
block_buffer_out: NonNull<*mut CMBlockBuffer>,
) -> i32CMBlockBuffer and CMFormatDescription and CMFormatDescriptionBridge only.Expand description
Copies the contents of a CMTextFormatDescription to a CMBlockBuffer in big-endian byte ordering.
On return, the caller owns the returned CMBlockBuffer, and must release it when done with it. Note that the dataRefIndex field of the SampleDescription is intentionally filled with garbage values (0xFFFF). The caller must overwrite these values with a valid dataRefIndex if writing the SampleDescription to a QuickTime/ISO file.
Parameter allocator: Allocator to use for allocating the CMBlockBuffer object. May be NULL.
Parameter textFormatDescription: CMTextFormatDescription to be copied.
Parameter flavor: Reserved for future use. Pass NULL for QuickTime Movie or ISO flavor.
Parameter blockBufferOut: Receives new CMBlockBuffer containing TextDescription data structure in big-endian byte ordering.
ยงSafety
block_buffer_out must be a valid pointer.