replaceSubrange(_:with:count:)
Replaces a region of bytes in the data with bytes from memory.
Declaration
mutating func replaceSubrange(_ subrange: Range<Data.Index>, with bytes: UnsafeRawPointer, count cnt: Int)Replaces a region of bytes in the data with bytes from memory.
mutating func replaceSubrange(_ subrange: Range<Data.Index>, with bytes: UnsafeRawPointer, count cnt: Int)