CGDataProviderCreateWithData
CGDataProviderCreateWithData is a function in the Core Graphics framework for macOS and iOS. It is used to create a data provider object that can be used to supply image data for Core Graphics image objects. This function allows developers to directly provide a block of memory containing image data.
The function takes three arguments: a pointer to the data, the size of the data in bytes,
When creating an image using a CGDataProvider created with this function, Core Graphics will access the provided