pub fn data(&self) -> CFData {
        let data_provider = unsafe {
            CGDataProviderRef::from_ptr(CGImageGetDataProvider(self.as_ptr()))
        };
        data_provider.copy_data()
    }
/// Returns the raw image bytes wrapped in `CFData`. Note, the returned `CFData` owns the
/// underlying buffer.
Returns the raw image bytes wrapped in `CFData`. Note, the returned `CFData` owns the
underlying buffer.
Returns the raw image bytes wrapped in ` CFData ` . Note the returned ` CFData ` owns the underlying buffer .
pub fn data(&self) -> CFData {
        let data_provider = unsafe {
            CGDataProviderRef::from_ptr(CGImageGetDataProvider(self.as_ptr()))
        };
        data_provider.copy_data()
    }
pub fn data ( & self ) -> CFData { let data_provider = unsafe { CGDataProviderRef :: from_ptr ( CGImageGetDataProvider ( self . as_ptr ( ) ) ) } ; data_provider . copy_data ( ) }
Returns the raw image bytes wrapped in `CFData`.
Returns the raw image bytes wrapped in ` CFData ` .
&self