Instance Method


Appends the specified bytes from memory to the end of the data.


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

See Also

Adding Bytes

func append(Data)

Appends the specified data to the end of this data.

func append(contentsOf: [UInt8])

Appends the bytes in the specified array to the end of the data.

func reserveCapacity(Int)

Prepares the collection to store the specified number of elements, when doing so is appropriate for the underlying type.