CGPDFStreamCopyData(_:_:)
Returns the data associated with a PDF stream.
Declaration
func CGPDFStreamCopyData(_ stream: CGPDFStreamRef, _ format: UnsafeMutablePointer<CGPDFDataFormat>) -> CFData?Parameters
- stream:
A PDF stream.
- format:
On return, contains a constant that specifies the format of the data returned—Raw, Jpegencoded, or Jpeg2000.
Return Value
A CFData object that contains a copy of the stream data. You are responsible for releasing this object.