Returns a pointer to the bytes of a PDF string.


func CGPDFStringGetBytePtr(_ string: CGPDFStringRef) -> UnsafePointer<UInt8>?



A PDF string.

Return Value

Returns a pointer to the bytes of the specified string. If the string is NULL, the function returns NULL.

See Also

Getting PDF String Data

func CGPDFStringGetLength(CGPDFStringRef) -> Int

Returns the number of bytes in a PDF string.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software