append(_:as:)
Appends the given value’s bytes to this span’s bytes.
Declaration
mutating func append<T>(_ value: T, as type: T.Type) where T : BitwiseCopyableParameters
- value:
The value to store as raw bytes.
- type:
The type of the value.
Appends the given value’s bytes to this span’s bytes.
mutating func append<T>(_ value: T, as type: T.Type) where T : BitwiseCopyableThe value to store as raw bytes.
The type of the value.