Initializer
init(count:)
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
Creates a new data buffer with the specified count of zeroed bytes.
init(count: Int)
Parameters
countThe number of bytes the data initially contains.