Enumeration

NSDataSearchOptions

Options for method used to search data objects.

Declaration

typedef enum NSDataSearchOptions : NSUInteger {
    ...
} NSDataSearchOptions;

Overview

These options are used with the rangeOfData:options:range: method.

Topics

Constants

NSDataSearchBackwards

Search from the end of the data object.

NSDataSearchAnchored

Search is limited to start (or end, if searching backwards) of the data object.

See Also

Finding Data

- subdataWithRange:

Returns a new data object containing the data object's bytes that fall within the limits specified by a given range.

- rangeOfData:options:range:

Finds and returns the range of the first occurrence of the given data, within the given range, subject to given options.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software