Skip to content

Function: convertUint8ToUint16() ​

ts
function convertUint8ToUint16(input): Uint16Array;

Defined in: convertUint8ToUint16.ts:9

Converts a Uint8Array to a Uint16Array by aligning its buffer.

Parameters ​

input ​

Uint8Array

The Uint8Array to convert

Returns ​

Uint16Array

A properly aligned Uint16Array

A Streaming Video Technology Alliance project.