Contents

subscript(_:)

Accesses the byte at the specified offset in the span.

Declaration

subscript(byteOffset: Int) -> UInt8 { get }

Parameters

  • byteOffset:

    The offset of the byte to access. byteOffset must be greater than or equal to zero, and less than byteCount.