append(repeating:count:as:)
Appends the given value’s bytes repeatedly to this span’s bytes.
Declaration
mutating func append<T>(repeating repeatedValue: T, count: Int, as type: T.Type) where T : BitwiseCopyableParameters
- repeatedValue:
The value to store as raw bytes.
- count:
The number of copies of
repeatedValueto append to this span. - type:
The type of the instance to store repeatedly.