<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NetworkFixedWidthInteger",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network0A17FixedWidthIntegerP"
  },
  "title" : "NetworkFixedWidthInteger"
}
-->

# NetworkFixedWidthInteger

```
protocol NetworkFixedWidthInteger : FixedWidthInteger
```

## Topics

### Initializers

[`init(bigEndian: Self)`](/documentation/Network/NetworkFixedWidthInteger/init(bigEndian:))

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

### Instance Properties

[`var bigEndian: Self`](/documentation/Network/NetworkFixedWidthInteger/bigEndian)

The big-endian representation of this integer.

## Relationships

### Inherits From

[`Strideable`](/documentation/Swift/Strideable)

[`Comparable`](/documentation/Swift/Comparable)

[`AdditiveArithmetic`](/documentation/Swift/AdditiveArithmetic)

[`LosslessStringConvertible`](/documentation/Swift/LosslessStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`FixedWidthInteger`](/documentation/Swift/FixedWidthInteger)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`BinaryInteger`](/documentation/Swift/BinaryInteger)

[`ExpressibleByIntegerLiteral`](/documentation/Swift/ExpressibleByIntegerLiteral)

[`Numeric`](/documentation/Swift/Numeric)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)