struct UnsafeBufferPointer.Iterator An iterator for the elements in the buffer referenced by an UnsafeBufferPointer or UnsafeMutableBufferPointer instance. Inheritance IteratorProtocol View Protocol Hierarchy → Import import Swift Instance Methods mutating func next() Advances to the next element and returns it, or nil if no next element exists. Once nil has been returned, all subsequent calls return nil. Declaration mutating func next() -> Element?