Open Classswift 6.1.2Foundation
InputStream
class InputStreamclass InputStreamimport Foundationclass Streamprotocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertibleA type with a customized textual representation.
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 NSObjectProtocol : AnyObjectThe 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