prefix()
Returns the UTF8Span containing all the content up to the iterator’s current position.
Declaration
func prefix() -> UTF8SpanDiscussion
The resultant UTF8Span has the same lifetime constraints as self.
Returns the UTF8Span containing all the content up to the iterator’s current position.
func prefix() -> UTF8SpanThe resultant UTF8Span has the same lifetime constraints as self.