linwenling
2023-08-13 0039b22ae537bc95dc22f1bcc684c5e9d644622a
1
2
3
4
5
6
7
8
9
10
var TA = require('../');
var test = require('tape');
 
test('tiny u8a test', function (t) {
    var ua = new(TA.Uint8Array)(5);
    t.equal(ua.length, 5);
    ua[1] = 256 + 55;
    t.equal(ua[1], 55);
    t.end();
});