UnsafeMutableBufferPointer

GPTKB entity

Statements (45)
Predicate Object
gptkbp:instanceOf Swift type
gptkbp:category Buffer pointer
gptkbp:compatibleWith gptkb:RandomAccessCollection
CustomDebugStringConvertible
CustomReflectable
CustomStringConvertible
MutableCollection
gptkbp:containsElement gptkb:waterfall
gptkbp:definedIn gptkb:Swift_Standard_Library
gptkbp:features Does not manage memory; user must ensure memory is valid
Unsafe operations can lead to undefined behavior
gptkbp:hasInitializer init(rebasing: Slice<UnsafeMutableBufferPointer<Element>>)
init(start: UnsafeMutablePointer<Element>?, count: Int)
gptkbp:hasMethod assign(repeating: Element)
deinitialize(count: Int)
initialize(from: UnsafeBufferPointer<Element>)
initialize(repeating: Element)
initialize(from: UnsafePointer<Element>, count: Int)
swapAt(Int, Int)
moveAssign(from: UnsafeMutableBufferPointer<Element>)
withMemoryRebound<T>(to: T.Type, _ body: (UnsafeMutableBufferPointer<T>) throws -> Result) rethrows -> Result
moveInitialize(from: UnsafeMutableBufferPointer<Element>)
gptkbp:hasProperty gptkb:Count
first
last
indices
isEmpty
baseAddress
https://www.w3.org/2000/01/rdf-schema#label UnsafeMutableBufferPointer
gptkbp:isBufferPointer true
gptkbp:isCollection true
gptkbp:isContiguous true
gptkbp:isMutable true
gptkbp:isMutableCollection true
gptkbp:isRandomAccessCollection true
gptkbp:isUnsafe true
gptkbp:language gptkb:Swift
gptkbp:relatedTo gptkb:UnsafeBufferPointer
gptkb:UnsafeMutablePointer
gptkb:UnsafePointer
gptkbp:usedFor low-level memory manipulation
performance-critical code
interfacing with C APIs
gptkbp:bfsParent gptkb:Swift_Standard_Library
gptkbp:bfsLayer 8