Instance Property

endIndex

The “past the end” position—that is, the position one greater than the last valid subscript argument.

Declaration

var endIndex: Int { get }

Discussion

The endIndex property of an UnsafeBufferPointer instance is always identical to count.