Function

CGPDFStringGetLength(_:)

Returns the number of bytes in a PDF string.

Declaration

func CGPDFStringGetLength(_ string: CGPDFStringRef) -> Int

Parameters

string

A PDF string.

Return Value

Returns the number of bytes referenced by the string, or 0 if the string is NULL.

See Also

Getting PDF String Data

func CGPDFStringGetBytePtr(CGPDFStringRef) -> UnsafePointer<UInt8>?

Returns a pointer to the bytes of a PDF string.