---
title: totalSampleSize
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmreadysamplebuffer/totalsamplesize
---

# totalSampleSize

Total size in bytes of all samples in the sample buffer.

## Declaration

```swift
var totalSampleSize: Int { get }
```
