Interface ArrayBufferConstructor
interface ArrayBufferConstructor {
new ArrayBufferConstructor(byteLength: number): ArrayBuffer;
new ArrayBufferConstructor(): ArrayBuffer;
new ArrayBufferConstructor(
byteLength: number,
options?: { maxByteLength?: number },
): ArrayBuffer;
"[species]": ArrayBufferConstructor;
prototype: ArrayBuffer;
isView(arg: any): arg is ArrayBufferView;
}
new ArrayBufferConstructor(byteLength: number): ArrayBuffer;
new ArrayBufferConstructor(): ArrayBuffer;
new ArrayBufferConstructor(
byteLength: number,
options?: { maxByteLength?: number },
): ArrayBuffer;
"[species]": ArrayBufferConstructor;
prototype: ArrayBuffer;
isView(arg: any): arg is ArrayBufferView;
}
Index
Constructors
constructor
- new ArrayBufferConstructor(byteLength: number): ArrayBuffer
Parameters
- byteLength: number
Returns ArrayBuffer
- new ArrayBufferConstructor(): ArrayBuffer
Returns ArrayBuffer
- new ArrayBufferConstructor(
byteLength: number,
options?: { maxByteLength?: number },
): ArrayBuffer Parameters
- byteLength: number
Optional
options: { maxByteLength?: number }
Returns ArrayBuffer
Methods
isView
- isView(arg: any): arg is ArrayBufferView
Parameters
- arg: any
Returns arg is ArrayBufferView