Skip to content

Protocol

DataProtocol

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
A protocol that provides consistent data access to the bytes underlying contiguous and noncontiguous data buffers.
protocol DataProtocol : RandomAccessCollection where Self.Element == UInt8, Self.SubSequence : DataProtocol

Topics

Associated Types

Instance Properties

Instance Methods

Relationships

Inherits From

  • Swift.BidirectionalCollection
  • Swift.Collection
  • Swift.RandomAccessCollection
  • Swift.Sequence

Inherited By

Conforming Types