Open Instance Methodswift 6.0.3Foundation
read(_:maxLength:)
func read(_ buffer: UnsafeMutablePointer<UInt8>, maxLength len: Int) -> Int
func read(_ buffer: UnsafeMutablePointer<UInt8>, maxLength len: Int) -> Int
s10Foundation11InputStreamC4read_9maxLengthSiSpys5UInt8VG_SitF
What are these?7HR8Q
import Foundation
class InputStream
@frozen struct UnsafeMutablePointer<Pointee> where Pointee : ~Copyable
A pointer for accessing and manipulating data of a specific type.
@frozen struct UInt8
An 8-bit unsigned integer value type.
@frozen struct Int
A signed integer value type.
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?
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