ContiguousCollection

public protocol ContiguousCollection : Collection

A Collection that is contiguously laid out in memory and can therefore be duplicated using memcpy.

  • Undocumented

    Declaration

    Swift

    @_inlineable
    func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R