append(_:)
Append a buffer of bytes to the data.
Declaration
mutating func append<SourceType>(_ buffer: UnsafeBufferPointer<SourceType>)Parameters
- buffer:
The buffer of bytes to append. The size is calculated from
SourceTypeandbuffer.count.
Append a buffer of bytes to the data.
mutating func append<SourceType>(_ buffer: UnsafeBufferPointer<SourceType>)The buffer of bytes to append. The size is calculated from SourceType and buffer.count.