Open Classswift 5.10.0Foundation
OutputStream
class OutputStream
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.
Type members
init(toBuffer: UnsafeMutablePointer<UInt8>, capacity: Int
) init?(toFileAtPath: String, append: Bool
) init(toMemory: ()
) init?(url: URL, append: Bool
) class func toMemory(
) -> Self
Instance members
var hasSpaceAvailable: Bool
var streamError: (any Error)?
var streamStatus: Stream.Status
func close(
) func open(
) func property(forKey: Stream.PropertyKey
) -> AnyObject? func remove(from: RunLoop, forMode: RunLoop.Mode
) func schedule(in: RunLoop, forMode: RunLoop.Mode
) func setProperty(AnyObject?, forKey: Stream.PropertyKey
) -> Bool func write(UnsafePointer<UInt8>, maxLength: Int
) -> Int