Table of Contents

Struct CFRange

Namespace
NAudio.MacOS.CoreFoundationApi
Assembly
NAudio.MacOS.dll

A structure representing a range of sequential items in a container, such as characters in a buffer or elements in a collection.

public readonly struct CFRange
Inherited Members

Constructors

CFRange(int, int)

Initializes a CFRange structure.
This corresponds to the CFRangeMake function in native code.

public CFRange(int location, int length)

Parameters

location int

The starting location of the range.

length int

The length of the range.

CFRange(long, long)

Initializes a CFRange structure.
This corresponds to the CFRangeMake function in native code.

public CFRange(long location, long length)

Parameters

location long

The starting location of the range.

length long

The length of the range.

Fields

length

An integer representing the number of items in the range.
For type compatibility with the rest of the system, MaxValue is the maximum value you should use for length.

public readonly CLong length

Field Value

CLong

location

An integer representing the starting location of the range.
For type compatibility with the rest of the system, MaxValue is the maximum value you should use for location.

public readonly CLong location

Field Value

CLong