---
title: length
framework: GSS
role: symbol
role_heading: Instance Property
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.0+, macOS 10.14+, visionOS 1.0+]
path: gss/gss_buffer_desc_struct/length
---

# length

The number of bytes held in the buffer.

## Declaration

```swift
var length: Int
```

## See Also

### Instance Properties

- [value](gss/gss_buffer_desc_struct/value.md)
