Instance Property

currentOffset

The position within the resource of the next byte.

Declaration

@property(nonatomic, readonly) long long currentOffset;

Discussion

When incrementally loading data you should begin loading at this offset, returning the data by invoking the respondWithData: method. Bytes previous to this value have already been provided.

See Also

Providing Data to a Request

- respondWithData:

Provides data to the loading request.

requestedLength

The length, in bytes, of the data requested.

requestedOffset

The position within the resource of the first byte requested.

requestsAllDataToEndOfResource

A Boolean value that indicates the entire remaining length of the resource from the offest to the end of the resource is being requested.