---
title: "init(littleEndian:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/int64/init(littleendian:)"
---

# init(littleEndian:)

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

## Declaration

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

## Parameters

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