Open ClassFoundation5.9.0
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.
Members
init(toBuffer: UnsafeMutablePointer<UInt8>, capacity: Int
) convenience init?(toFileAtPath: String, append: Bool
) init(toMemory: ()
) init?(url: URL, append: Bool
) class func toMemory(
) -> Self var hasSpaceAvailable: Bool
var streamError: 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