init(bson:)

Copies and validates the backing storage of the given UTF-8 string to a native Swift substring, repairing invalid code units if needed.

Substring (ext).swift:8
init(bson: BSON.UTF8View<ArraySlice<UInt8>>)