Contents

CGDataProviderSkipForwardCallback

A callback function that advances the current position in the data stream supplied by the provider.

Declaration

typealias CGDataProviderSkipForwardCallback = (UnsafeMutableRawPointer?, off_t) -> off_t

Parameters

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.

See Also

Creating Sequential-Access Data Providers