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.