Open ClassFoundation5.9.0
InputStream
class InputStream
Superclasses
Citizens in Foundation
Conformances
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
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(data: Data
) convenience init?(fileAtPath: String
) init?(url: URL
) var hasBytesAvailable: Bool
var streamError: Error?
var streamStatus: Stream.Status
func close(
) func getBuffer(UnsafeMutablePointer
<UnsafeMutablePointer<UInt8>?>, length: UnsafeMutablePointer<Int>) -> Bool func open(
) func property(forKey: Stream.PropertyKey
) -> AnyObject? func read(UnsafeMutablePointer
<UInt8>, maxLength: Int) -> Int func remove(from: RunLoop, forMode: RunLoop.Mode
) func schedule(in: RunLoop, forMode: RunLoop.Mode
) func setProperty(AnyObject
?, forKey: Stream.PropertyKey) -> Bool