<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GSS",
  "identifier" : "/documentation/GSS/gss_iov_buffer_desc_struct/init(type:buffer:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "GSS"
    ],
    "preciseIdentifier" : "s:So26gss_iov_buffer_desc_structV4type0C0ABs6UInt32V_So0a1_c1_d1_E0Vtcfc"
  },
  "title" : "init(type:buffer:)"
}
-->

# init(type:buffer:)

```
init(type: OM_uint32, buffer: gss_buffer_desc)
```

## Parameters

`type`

The desired IOV buffer type.

`buffer`

The buffer structure.

## Discussion

Initialize a new IOV buffer structure with the given configuration.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)