One Logo Pool Ball
CoreMIDI · IOS API REFERENCE

MIDIPacket.ByteCollection

struct · iOS 13.0+ · SDK 27.1

struct ByteCollection

Members (6)

get · iOS 13.0+

startIndex

TypeScript
get startIndex(): number
Swift declaration
var startIndex: Int { get }

Always zero, which is the index of the first `UInt8`.

get · iOS 13.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }

The number of `MIDIPacket`s in the MIDIPacketList

get · iOS 13.0+

endIndex

TypeScript
get endIndex(): number
Swift declaration
var endIndex: Int { get }

The "past the end" position; always identical to `count`.

init · iOS 13.0+

init

TypeScript
static init(p: SDKHandle): MIDIPacket_ByteCollection
Swift declaration
init(_ p: UnsafePointer<MIDIPacket>)
init · iOS 13.0+

init

TypeScript
static init82271(p?: (SDKHandle) | null): (MIDIPacket_ByteCollection) | null
Swift declaration
init?(_ p: UnsafePointer<MIDIPacket>?)
subscript · iOS 13.0+

subscript

TypeScript
subscript(index: number): number
Swift declaration
subscript(index: MIDIPacket.ByteCollection.Index) -> MIDIPacket.ByteCollection.Element { get }

Access an indexed `UInt8` (`data[i]`).

Skipped declarations

No declarations were skipped in this snapshot.

All CoreMIDI types →