---
title: "combine(bytes:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/hasher/combine(bytes:)"
---

# combine(bytes:)

Adds the contents of the given buffer to this hasher, mixing it into the hasher state.

## Declaration

```swift
mutating func combine(bytes: UnsafeRawBufferPointer)
```

## Parameters

- `bytes`: A raw memory buffer.

## See Also

### Adding Values

- [combine(_:)](swift/hasher/combine(_:).md)
