FreByteArraySwift
public class FreByteArraySwift : NSObject
FreByteArraySwift: wrapper for FREByteArray.
-
raw FREObject value.
Declaration
Swift
public var rawValue: FREObject?
-
An UnsafeMutablePointer
that is a pointer to the bytes in the ActionScript ByteArray object. Declaration
Swift
public var bytes: UnsafeMutablePointer<UInt8>!
-
A UInt that is the number of bytes in the bytes array.
Declaration
Swift
public var length: UInt
-
init: inits with a FREObject
Declaration
Swift
public init(freByteArray: FREObject)
Parameters
freByteArray
FREObject of AS3 type ByteArray
-
Declaration
Swift
public init(data: NSData)
Parameters
data
NSData which will be converted into FREByteArray
-
See the original Adobe documentation
Declaration
Swift
public func acquire()
-
See the original Adobe documentation
Declaration
Swift
public func releaseBytes()
-
Handles conversion to a NSData returns: NSData?
Declaration
Swift
public var value: NSData? { get }