---
title: length
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avsamplecursorstoragerange/length
---

# length

The count of bytes of storage that a media sample or its chunk occupies.

## Declaration

```swift
var length: Int64
```

## See Also

### Storage range

- [offset](avfoundation/avsamplecursorstoragerange/offset.md)
