1 | var typedArrayConstructor = require('../internals/typed-array-constructor');
|
2 |
|
3 | // `Uint8Array` constructor
|
4 | // https://tc39.github.io/ecma262/#sec-typedarray-objects
|
5 | typedArrayConstructor('Uint8', 1, function (init) {
|
6 | return function Uint8Array(data, byteOffset, length) {
|
7 | return init(this, data, byteOffset, length);
|
8 | };
|
9 | });
|