Contents

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)

See Also

Replacing a Range of Bytes