---
title: "append(repeating:count:as:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/outputrawspan/append(repeating:count:as:)"
---

# append(repeating:count:as:)

Appends the given value’s bytes repeatedly to this span’s bytes.

## Declaration

```swift
mutating func append<T>(repeating repeatedValue: T, count: Int, as type: T.Type) where T : BitwiseCopyable
```
