---
title: "loadUnaligned(fromByteOffset:as:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/slice/loadunaligned(frombyteoffset:as:)-9gtr0"
---

# loadUnaligned(fromByteOffset:as:)

## Declaration

```swift
func loadUnaligned<T>(fromByteOffset offset: Int = 0, as type: T.Type) -> T
```
