Uint16Array
Uint16Array is a JavaScript function in the Typed Array category. 16-bit unsigned integer array. The syntax is new Uint16Array(length). A typical example: new Uint16Array(2). A close sibling is Int8Array, which 8-bit signed integer array. A close sibling is Uint8Array, which 8-bit unsigned integer array. A close sibling is Float64Array, which 64-bit float array. A close sibling is ArrayBuffer, which fixed-length binary buffer. More about this category: Typed arrays for binary data. Related Typed Array methods: Int8Array, Uint8Array, Float64Array, ArrayBuffer, Int32Array, BigInt64Array, BigUint64Array, SharedArrayBuffer. This page is part of the free JS Reference documentation covering 1027+ methods, each with syntax, parameters, return values, examples, and common pitfalls. You can try Uint16Array immediately in the JavaScript playground, look up unfamiliar terms in the glossary, or return to the JS Reference homepage.