Contents

CMSampleBufferGetTotalSampleSize(_:)

Returns the total size in bytes of sample data in a sample buffer.

Declaration

func CMSampleBufferGetTotalSampleSize(_ sbuf: CMSampleBuffer) -> Int

Parameters

  • sbuf:

    The CMSampleBuffer being interrogated.

Return Value

Total size in bytes of sample data in the CMSampleBuffer. If there are no sample sizes in this CMSampleBuffer, a size of 0 will be returned.

See Also

Inspecting Size Information