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

# append(_:as:)

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

## Declaration

```swift
mutating func append<T>(_ value: T, as type: T.Type) where T : BitwiseCopyable
```
