Instance Method
resetBytes(in:)
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
Sets a region of the data buffer to 0.
Parameters
rangeThe range in the data to set to
0.
Discussion
If range exceeds the bounds of the data, then the data is resized to fit.