Instance Methodswift 6.0.3Dispatch
read(offset:length:queue:ioHandler:)
func read(offset: off_t, length: Int, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void)
func read(offset: off_t, length: Int, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void)
s8Dispatch0A2IOC4read6offset6length5queue9ioHandlerySi_SiAA0A5QueueCySb_AA0A4DataVSgs5Int32VtctF
What are these?1HBH3
import Dispatch
class DispatchIO
@frozen struct Int
A signed integer value type.
class DispatchQueue
@frozen struct Bool
A value type whose instances are either true
or false
.
struct DispatchData
@frozen struct Int32
A 32-bit signed integer value type.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.
convenience init(type: DispatchIO.StreamType, fileDescriptor: dispatch_fd_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)
convenience init(type: DispatchIO.StreamType, io: DispatchIO, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)
convenience init?(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)
class func read(fromFileDescriptor: Int32, maxLength: Int, runningHandlerOn queue: DispatchQueue, handler: @escaping (DispatchData, Int32) -> Void)
class func write(toFileDescriptor: Int32, data: DispatchData, runningHandlerOn queue: DispatchQueue, handler: @escaping (DispatchData?, Int32) -> Void)
var fileDescriptor: Int32 { get }
func barrier(execute: @escaping () -> ())
func close(flags: DispatchIO.CloseFlags = [])
func setInterval(interval: DispatchTimeInterval, flags: DispatchIO.IntervalFlags = [])
func setLimit(highWater: Int)
func setLimit(lowWater: Int)
func write(offset: off_t, data: DispatchData, queue: DispatchQueue, ioHandler: @escaping (Bool, DispatchData?, Int32) -> Void)
struct CloseFlags
struct IntervalFlags
enum StreamType
convenience init(type: DispatchIO.StreamType, path: UnsafePointer<Int8>, oflag: Int32, mode: mode_t, queue: DispatchQueue, cleanupHandler: @escaping (Int32) -> Void)