Initializerswift-bson 1.0.0BSONDecoding->Swift
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.
init(bson: BSON.UTF8View<ArraySlice<UInt8>>)
Copies and validates the backing storage of the given UTF-8 string to a native Swift substring, repairing invalid code units if needed.
init(bson: BSON.UTF8View<ArraySlice<UInt8>>)