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.
byteOffsetmust be greater than or equal to zero, and less thanbyteCount.