replaceSubrange(_:repeating:)

Fill a range in the buffer with given byte.

Declaration

mutating func replaceSubrange(_ range: Range<Int>, repeating byte: UInt8)