byteOffset
TypeScriptget byteOffset(): numberSwift declarationvar byteOffset: IntOffset of the sample data in the container.
struct · iOS 26.0+ · SDK 27.1
struct CMSampleDataReferenceReferences sample data in at a URL. The size of the data is provided as ``CMReadySampleBuffer/totalSampleSize``.
get byteOffset(): numberSwift declarationvar byteOffset: IntOffset of the sample data in the container.
set byteOffset(value: number)Swift declarationvar byteOffset: IntOffset of the sample data in the container.
get containerLocation(): stringSwift declarationvar containerLocation: URLContainer of the sample data.
set containerLocation(value: string)Swift declarationvar containerLocation: URLContainer of the sample data.
static init(containerLocation: string, byteOffset: number): CMSampleDataReferenceSwift declarationinit(containerLocation: URL, byteOffset: Int)No declarations were skipped in this snapshot.