---
title: CGDataProviderSequentialCallbacks
framework: coregraphics
role: symbol
role_heading: Structure
path: coregraphics/cgdataprovidersequentialcallbacks
---

# CGDataProviderSequentialCallbacks

Defines a structure containing pointers to client-defined callback functions that manage the sending of data for a sequential-access data provider.

## Declaration

```swift
struct CGDataProviderSequentialCallbacks
```

## Overview

Overview The functions specified by the CGDataProviderSequentialCallbacks structure are responsible for sequentially copying data to a memory buffer for Core Graphics to use. The functions are also responsible for handling the data provider’s basic memory management. You supply a CGDataProviderSequentialCallbacks structure to the function init(sequentialInfo:callbacks:) to create a sequential-access data provider.

## Topics

### Initializers

- [init()](coregraphics/cgdataprovidersequentialcallbacks/init().md)
- [init(version:getBytes:skipForward:rewind:releaseInfo:)](coregraphics/cgdataprovidersequentialcallbacks/init(version:getbytes:skipforward:rewind:releaseinfo:).md)

### Instance Properties

- [getBytes](coregraphics/cgdataprovidersequentialcallbacks/getbytes.md)
- [releaseInfo](coregraphics/cgdataprovidersequentialcallbacks/releaseinfo.md)
- [rewind](coregraphics/cgdataprovidersequentialcallbacks/rewind.md)
- [skipForward](coregraphics/cgdataprovidersequentialcallbacks/skipforward.md)
- [version](coregraphics/cgdataprovidersequentialcallbacks/version.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Creating Sequential-Access Data Providers

- [init(sequentialInfo:callbacks:)](coregraphics/cgdataprovider/init(sequentialinfo:callbacks:).md)
- [CGDataProviderRewindCallback](coregraphics/cgdataproviderrewindcallback.md)
- [CGDataProviderGetBytesCallback](coregraphics/cgdataprovidergetbytescallback.md)
- [CGDataProviderSkipForwardCallback](coregraphics/cgdataproviderskipforwardcallback.md)
- [CGDataProviderReleaseInfoCallback](coregraphics/cgdataproviderreleaseinfocallback.md)
