Change parameter from UintArray to ArrayBuffer.