---
title: "append(_:count:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/data/append(_:count:)"
---

# append(_:count:)

Appends the specified bytes from memory to the end of the data.

## Declaration

```swift
mutating func append(_ bytes: UnsafePointer<UInt8>, count: Int)
```

## See Also

### Adding Bytes

- [append(_:)](foundation/data/append(_:)-vjwy.md)
- [append(_:)](foundation/data/append(_:)-xtlw.md)
- [reserveCapacity(_:)](foundation/data/reservecapacity(_:).md)
