AMFArray

public struct AMFArray : Sendable
extension AMFArray: ExpressibleByArrayLiteral
extension AMFArray: CustomDebugStringConvertible
extension AMFArray: Equatable

The AMFArray structure represents an array value for ActionScript.

  • The length of an array.

    Declaration

    Swift

    public var length: Int { get }
  • Creates a new instance containing the specified number of a single.

    Declaration

    Swift

    public init(count: Int)
  • Creates a new instance of data.

    Declaration

    Swift

    public init(data: [(any Sendable)?])

ExpressibleByArrayLiteral

  • Declaration

    Swift

    public init(arrayLiteral elements: (any Sendable)?...)
  • Accesses the element at the specified position.

    Declaration

    Swift

    public subscript(i: Any) -> (any Sendable)? { get set }

CustomDebugStringConvertible

  • Declaration

    Swift

    public var debugDescription: String { get }

Equatable

  • Declaration

    Swift

    public static func == (lhs: AMFArray, rhs: AMFArray) -> Bool