MongoDB interview question

Converting a Javascript Uint8Array into a UInt32Array.