withUnsafeSampleBuffer(_:)

Access the underlying CMSampleBuffer instance.

Declaration

func withUnsafeSampleBuffer<R>(_ body: (CMSampleBuffer) throws -> sending  R) rethrows -> sending R where R : ~Copyable