Endianness
Endianness refers to the sequential order in which bytes are arranged into larger numerical values when stored in memory or when transmitted over digital links.
enum EndiannessEndianness refers to the sequential order in which bytes are arranged into larger numerical values when stored in memory or when transmitted over digital links.
enum Endiannessimport NIOCoreThe core abstractions that make up SwiftNIO.
case bigbig endian, the most significant byte (MSB) is at the lowest address
case littlelittle endian, the least significant byte (LSB) is at the lowest address
struct ByteBufferByteBuffer stores contiguously allocated raw bytes. It is a random and sequential accessible sequence of zero or more bytes (octets).
struct ByteBufferViewA view into a portion of a ByteBuffer.
struct ByteBufferAllocatorThe preferred allocator for ByteBuffer values. The allocation strategy is opaque but is currently libc’s malloc, realloc and free.
final class NIOFileHandleDeprecated. NIOFileHandle is a handle to an open file descriptor.
protocol FileDescriptorstruct FileRegionA FileRegion represent a readable portion usually created to be sent over the network.
typealias NIOPOSIXFileMode = mode_tenum IODataIOData unifies standard SwiftNIO types that are raw bytes of data; currently ByteBuffer and FileRegion.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol Sendable : SendableMetatypeA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
protocol SendableMetatype : ~Copyable, ~EscapableA type whose metatype can be shared across arbitrary concurrent contexts without introducing a risk of data races. When a generic type T conforms to SendableMetatype, its metatype T.Type conforms to Sendable. All concrete types implicitly conform to the SendableMetatype protocol, so its primary purpose is in generic code to prohibit the use of isolated conformances along with the generic type.
static let host: EndiannessThe endianness of the machine running this program.
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.