Instance Methodswift 6.0.3Dispatch

append(_:count:)

Append bytes to the data.

This declaration was deprecated in Swift 4: Use append(_: UnsafeRawBufferPointer) instead

mutating func append(_ bytes: UnsafePointer<UInt8>, count: Int)

Parameters

bytes

A pointer to the bytes to copy in to the data.

count

The number of bytes to copy.