Open Classswift 6.0.3Foundation
InputStream
class InputStream
class InputStream
import Foundation
class Stream
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol NSObjectProtocol : AnyObject
The NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
init(data: Data)
convenience init?(fileAtPath path: String)
init?(url: URL)
var hasBytesAvailable: Bool { get }
override var streamError: (any Error)? { get }
override var streamStatus: Stream.Status { get }
override func close()
func getBuffer(_ buffer: UnsafeMutablePointer<UnsafeMutablePointer<UInt8>?>, length len: UnsafeMutablePointer<Int>) -> Bool
override func open()
override func property(forKey key: Stream.PropertyKey) -> AnyObject?
func read(_ buffer: UnsafeMutablePointer<UInt8>, maxLength len: Int) -> Int
override func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
override func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
override func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool