SharedArrayBuffer
ArrayBuffer.swift:38class SharedArrayBuffer
class SharedArrayBuffer
import ECMAScript
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
convenience init(length: Int)
convenience init(length: Int, maxByteLength: Int)
required init(unsafelyWrapping jsObject: JSObject)
class var constructor: JSFunction? { get }
var byteLength: Int { get }
var growable: Bool { get }
let jsObject: JSObject
var maxByteLength: Int { get }
func grow(newLength: Int)
func slice(begin: Int) -> SharedArrayBuffer
func slice(begin: Int, end: Int) -> SharedArrayBuffer
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue
import WebAPIBase
protocol Any_AllowSharedBufferSource : ConvertibleToJSValue
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable