One Logo Pool Ball
Foundation · IOS API REFERENCE

OutputStream

class · SDK 27.1

class OutputStream

Members (7)

static

toMemory

TypeScript
static toMemory(): OutputStream
Swift declaration
class func toMemory() -> Self
init

init

TypeScript
static initToBufferCapacity(buffer: SDKHandle, capacity: number): OutputStream
Swift declaration
init(toBuffer buffer: UnsafeMutablePointer<UInt8>, capacity: Int)
init

init

TypeScript
static initToFileAtPathAppend(path: string, shouldAppend: boolean): (OutputStream) | null
Swift declaration
convenience init?(toFileAtPath path: String, append shouldAppend: Bool)
init

init

TypeScript
static initToMemory(toMemory: void): OutputStream
Swift declaration
init(toMemory: ())
init · iOS 4.0+

init

TypeScript
static initUrlAppend(url: string, shouldAppend: boolean): (OutputStream) | null
Swift declaration
init?(url: URL, append shouldAppend: Bool)
method

write

TypeScript
write(buffer: SDKHandle, len: number): number
Swift declaration
func write(_ buffer: UnsafePointer<UInt8>, maxLength len: Int) -> Int
get

hasSpaceAvailable

TypeScript
get hasSpaceAvailable(): boolean
Swift declaration
var hasSpaceAvailable: Bool { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

OutputStream.init()

inherited init: cannot prove legal (class declares 6 custom initializers)

All Foundation types →