startIndex
TypeScriptget startIndex(): numberSwift declarationlet startIndex: IntThe position of the first element in a nonempty collection.
struct · iOS 26.0+ · SDK 27.1
struct BlockRegionA contiguous region of mutable memory within a block buffer.
get startIndex(): numberSwift declarationlet startIndex: IntThe position of the first element in a nonempty collection.
withUnsafeBytes(body: ((arg0: ArrayBuffer) => unknown)): unknownSwift declarationfunc withUnsafeBytes<ResultType>(_ body: (UnsafeRawBufferPointer) throws -> ResultType) rethrows -> ResultTypeCalls the given closure with a pointer to the underlying bytes of the region’s contiguous storage.
withUnsafeMutableBytes(body: ((arg0: ArrayBuffer) => unknown)): unknownSwift declarationfunc withUnsafeMutableBytes<ResultType>(_ body: (UnsafeMutableRawBufferPointer) throws -> ResultType) rethrows -> ResultTypeCalls the given closure with a mutable pointer to the underlying bytes of the region’s contiguous storage.
get count(): numberSwift declarationvar count: Int { get }Number of bytes in the block region
get regions(): SDKHandleSwift declarationvar regions: CollectionOfOne<CMMutableDataBlockBuffer.BlockRegion> { get }The single buffer that makes up this region.
get endIndex(): numberSwift declarationvar endIndex: Int { get }The position one greater than the last valid subscript argument.
subscript(position: number): numberSwift declarationsubscript(position: CMMutableDataBlockBuffer.BlockRegion.Index) -> UInt8 { get set }Accesses the data byte at the specified position.
No declarations were skipped in this snapshot.