Function

CGPDFStringGetBytePtr(_:)

Returns a pointer to the bytes of a PDF string.

Declaration

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

Parameters

string

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.