---
title: "init(bigEndian:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/uint8/init(bigendian:)"
---

# init(bigEndian:)

Creates an integer from its big-endian representation, changing the byte order if necessary.

## Declaration

```swift
init(bigEndian value: Self)
```

## Parameters

- `value`: A value to use as the big-endian representation of the new integer.
