Extension (Structure)swift-nio 2.86.1all tags
Int (ext)
You’re viewing third-party extensions to Int, a struct from the Swift standard library.
You can also read the documentation forInt itself.
extension IntYou’re viewing third-party extensions to Int, a struct from the Swift standard library.
You can also read the documentation forInt itself.
extension Int@frozen struct IntA signed integer value type.
import NIOConcurrencyHelpers@preconcurrency protocol AtomicPrimitive@preconcurrency protocol NIOAtomicPrimitivestatic let atomic_add: (OpaquePointer, Int) -> Intstatic let atomic_compare_and_exchange: (OpaquePointer, Int, Int) -> Boolstatic let atomic_create: (Int) -> OpaquePointerstatic let atomic_destroy: (OpaquePointer) -> Voidstatic let atomic_exchange: (OpaquePointer, Int) -> Intstatic let atomic_load: (OpaquePointer) -> Intstatic let atomic_store: (OpaquePointer, Int) -> Voidstatic let atomic_sub: (OpaquePointer, Int) -> Intstatic let nio_atomic_add: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int) -> Intstatic let nio_atomic_compare_and_exchange: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int, Int) -> Boolstatic let nio_atomic_create_with_existing_storage: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int) -> Voidstatic let nio_atomic_exchange: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int) -> Intstatic let nio_atomic_load: (UnsafeMutablePointer<catmc_nio_atomic_long>) -> Intstatic let nio_atomic_store: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int) -> Voidstatic let nio_atomic_sub: (UnsafeMutablePointer<catmc_nio_atomic_long>, Int) -> Inttypealias AtomicWrapper = catmc_nio_atomic_longimport NIOWebSocketinit(webSocketOpcode opcode: WebSocketOpcode) Create a UInt8 corresponding to the integer value for a given WebSocketOpcode.