StructureSwift

    Int8

    An 8-bit signed integer value type.

    @frozen struct Int8

    Members

    Typealiases

    NIOConcurrencyHelpers

    Initializers

    • init()

      Creates a new value equal to zero.

    • init<T>(T)

      Creates an integer from the given floating-point value, rounding toward zero. Any fractional part of the value passed as source is removed.

    • init?(String)

      Creates a new integer value from the given string.

    • init(Float16)

      Creates an integer from the given floating-point value, rounding toward zero.

    • init(Float)

      Creates an integer from the given floating-point value, rounding toward zero.

    • init(Double)

      Creates an integer from the given floating-point value, rounding toward zero.

    • init(Float80)

      Creates an integer from the given floating-point value, rounding toward zero.

    • init<T>(T)

      Creates a new instance from the given integer.

    • init?<S>(S, radix: Int)

      Creates a new integer value from the given string and radix.

    • init(bigEndian: Self)

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

    • init(bitPattern: UInt8)

      Creates a new instance with the same memory representation as the given value.

    • init<Other>(clamping: Other)

      Creates a new instance with the representable value that’s closest to the given integer.

    • init?<T>(exactly: T)

      Creates an integer from the given floating-point value, if it can be represented exactly.

    • init?(exactly: Float80)

      Creates an integer from the given floating-point value, if it can be represented exactly.

    • init?(exactly: Float16)

      Creates an integer from the given floating-point value, if it can be represented exactly.

    • init?(exactly: Float)

      Creates an integer from the given floating-point value, if it can be represented exactly.

    • init?(exactly: Double)

      Creates an integer from the given floating-point value, if it can be represented exactly.

    • init?<T>(exactly: T)

      Creates a new instance from the given integer, if it can be represented exactly.

    • init(from: Decoder) throws

      Creates a new instance by decoding from the given decoder.

    • init(integerLiteral: Self)

      Creates an instance initialized to the specified integer value.

    • init(littleEndian: Self)

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

    • init<T>(truncatingIfNeeded: T)

      Creates a new instance from the bit pattern of the given instance by truncating or sign-extending if needed to fit this type.

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Type Properties

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Instance Properties

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Type Methods

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Instance Methods

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Type Operators

    Foundation

    Atomics

    NIOConcurrencyHelpers

    ArgumentParser

    Structures

    Atomics

    Removed Members

    Initializers

      Foundation

      Instance Properties