SwiftstructlibswiftCore
UnsafeBufferPointer
struct Swift.UnsafeBufferPointer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.BidirectionalCollection
- protocolSwift.Collection
- protocolSwift.RandomAccessCollection
- protocolSwift.Sequence
- protocolSwift._HasContiguousBytes
Members 45
- field
let _position: UnsafePointer<A>?+0x0 - field
let count: Int+0x8 - func
UnsafeBufferPointer._copyContents(initializing: UnsafeMutableBufferPointer<A>) -> (UnsafeBufferPointer<A>.Iterator, Int) - func
UnsafeBufferPointer._failEarlyRangeCheck(_: Int, bounds: Range<Int>) -> () - func
UnsafeBufferPointer._failEarlyRangeCheck(_: Range<Int>, bounds: Range<Int>) -> () - func
UnsafeBufferPointer.deallocate() -> () - func
UnsafeBufferPointer.distance(from: Int, to: Int) -> Int - func
UnsafeBufferPointer.formIndex(after: inout Int) -> () - func
UnsafeBufferPointer.formIndex(before: inout Int) -> () - func
UnsafeBufferPointer.index(after: Int) -> Int - func
UnsafeBufferPointer.index(before: Int) -> Int - func
UnsafeBufferPointer.index(_: Int, offsetBy: Int, limitedBy: Int) -> Int? - func
UnsafeBufferPointer.index(_: Int, offsetBy: Int) -> Int - func
UnsafeBufferPointer.makeIterator() -> UnsafeBufferPointer<A>.Iterator - func
UnsafeBufferPointer.withContiguousStorageIfAvailable<A>((UnsafeBufferPointer<A>) throws -> A1) throws -> A1? - func
UnsafeBufferPointer.withMemoryRebound<A, B>(to: A1.Type, _: (UnsafeBufferPointer<A1>) throws -> B1) throws -> B1 - func
UnsafeBufferPointer.withUnsafeBytes<A>((UnsafeRawBufferPointer) throws -> A1) throws -> A1 - init
UnsafeBufferPointer.init(start: UnsafePointer<A>?, count: Int) -> UnsafeBufferPointer<A> - init
UnsafeBufferPointer.init(_empty: ()) -> UnsafeBufferPointer<A> - init
UnsafeBufferPointer.init(rebasing: Slice<UnsafeBufferPointer<A>>) -> UnsafeBufferPointer<A> - init
UnsafeBufferPointer.init(rebasing: Slice<UnsafeMutableBufferPointer<A>>) -> UnsafeBufferPointer<A> - init
UnsafeBufferPointer.init(UnsafeMutableBufferPointer<A>) -> UnsafeBufferPointer<A> - subscript
UnsafeBufferPointer.subscript.getter : (_unchecked: Int) -> A - subscript
UnsafeBufferPointer.subscript.getter : (Range<Int>) -> Slice<UnsafeBufferPointer<A>> - subscript
UnsafeBufferPointer.subscript.getter : (Int) -> A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Iterator = (extension in Swift):Swift.UnsafeBufferPointer<A>.Iterator - typealias
typealias Iterator = (extension in Swift):Swift.UnsafeBufferPointer<A>.Iterator - typealias
typealias SubSequence = Swift.Slice<Swift.UnsafeBufferPointer<A>> - typealias
typealias SubSequence = Swift.Slice<Swift.UnsafeBufferPointer<A>> - typealias
typealias SubSequence = Swift.Slice<Swift.UnsafeBufferPointer<A>> - var
var baseAddress: UnsafePointer<A>? { get } - var
var debugDescription: String { get } - var
var endIndex: Int { get } - var
var indices: Range<Int> { get } - var
var startIndex: Int { get }
Header
struct UnsafeBufferPointer<A> where A: ~Swift.Copyable { let _position: Swift.UnsafePointer<A>? let count: Swift.Int init(start: Swift.UnsafePointer<A>?, count: Swift.Int) init(_empty: ()) init(rebasing: Swift.Slice<Swift.UnsafeBufferPointer<A>>) init(rebasing: Swift.Slice<Swift.UnsafeMutableBufferPointer<A>>) init(_: Swift.UnsafeMutableBufferPointer<A>) var baseAddress: Swift.UnsafePointer<A>? { get } var debugDescription: Swift.String { get } var endIndex: Swift.Int { get } var indices: Swift.Range<Swift.Int> { get } var startIndex: Swift.Int { get } func deallocate() func makeIterator() -> Swift.UnsafeBufferPointer<A>.Iterator func _copyContents(initializing: Swift.UnsafeMutableBufferPointer<A>) -> (Swift.UnsafeBufferPointer<A>.Iterator, Swift.Int) func withUnsafeBytes<A1>(_: (_: Swift.UnsafeRawBufferPointer) throws -> A1) throws -> A1 func withMemoryRebound<A1, B1>(to: A1.Type, _: (_: Swift.UnsafeBufferPointer<A1>) throws -> B1) throws -> B1 func _failEarlyRangeCheck(_: Swift.Int, bounds: Swift.Range<Swift.Int>) func _failEarlyRangeCheck(_: Swift.Range<Swift.Int>, bounds: Swift.Range<Swift.Int>) func withContiguousStorageIfAvailable<A1>(_: (_: Swift.UnsafeBufferPointer<A>) throws -> A1) throws -> A1? func index(after: Swift.Int) -> Swift.Int func index(before: Swift.Int) -> Swift.Int func index(_: Swift.Int, offsetBy: Swift.Int, limitedBy: Swift.Int) -> Swift.Int? func index(_: Swift.Int, offsetBy: Swift.Int) -> Swift.Int func distance(from: Swift.Int, to: Swift.Int) -> Swift.Int func formIndex(after: inout Swift.Int) func formIndex(before: inout Swift.Int) subscript(_unchecked: Swift.Int) -> A { get } subscript(_: Swift.Range<Swift.Int>) -> Swift.Slice<Swift.UnsafeBufferPointer<A>> { get } subscript(_: Swift.Int) -> A { get } }