protocol MutableDataProtocol : DataProtocol, MutableCollection, RangeReplaceableCollection
A collection that supports backward as well as forward traversal.
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
A collection that supports subscript assignment.
A collection that supports efficient random-access index traversal.
A collection that supports replacement of an arbitrary subrange of elements with the elements of another collection.
A type that provides sequential, iterated access to its elements.
func resetBytes<R>(in: R
Replaces the contents of the buffer at the given range with zeroes.