CGDataProviderSkipForwardCallback
A callback function that advances the current position in the data stream supplied by the provider.
Declaration
typealias CGDataProviderSkipForwardCallback = (UnsafeMutableRawPointer?, off_t) -> off_tParameters
- info:
A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to Init(version:getbytes:skipforward:rewind:releaseinfo:).
- count:
The number of bytes to skip.
Return Value
The number of bytes that were actually skipped.
Discussion
When Core Graphics needs to advance forward in the provider’s data stream, your function is called.