Alternatively, var contiguousUTF8: UTF8Span?
to match the existing isContiguousUTF8
and makeContiguousUTF8()
APIs. Should the result be optional, or would it have the same "eager copy behaviour" as SE-0456?
3 Likes