Export (0) Print
Expand All

2.9.1.2 TypeArray Objects

For each Type in the following table, a separate TypeArray constructor object, with corresponding prototype and instances as described below is available.

Type

Array Name

Size

Description

Equivalent C Type

Int8

Int8Array

1

8-bit 2's complement signed integer

signed char

Uint8

Uint8ClampedArray

1

8-bit 2's complement unsigned integer

unsigned char

Int16

Int16Array

2

16-bit 2's complement signed integer

Short

Uint16

Uint16Array

2

16-bit unsigned integer

unsigned short

Int32

Int32Array

4

32-bit 2's complement signed integer

Int

Uint32

Uint32Array

4

32-bit unsigned integer

unsigned int

Float32

Float32Array

4

32-bit IEEE floating point

Float

Float64

Float64Array

8

64-bit IEEE floating point

Double

Show:
© 2014 Microsoft