Instance PropertyFoundation

    regions

    A BidirectionalCollection of DataProtocol elements which compose a discontiguous buffer of memory. Each region is a contiguous buffer of bytes.

    • Available when Element is UInt8

    var regions: CollectionOfOne<Array<UInt8>> { get }

    Overview

    The sum of the lengths of the associated regions must equal self.count (such that iterating regions and iterating self produces the same sequence of indices in the same number of index advancements).