StorageData
public protocol StorageData : ContiguousBytes
Indicates that the conforming type is a contiguous collection of raw bytes whose underlying storage is directly accessible by withUnsafeBytes.
-
Create a
StorageData
.Declaration
Swift
init<B>(bytes: B) throws where B : StorageData
Parameters
bytes
ContiguousBytes
ofStorageData
.