Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

uint8array javascript

const uint8array = new Uint8Array(5);
uint8array[0] = 0x00;
uint8array[1] = 0x66;
uint8array[2] = 0x99;
uint8array[3] = 0xaa;
uint8array[4] = 0xff;

console.log(uint8array[4]); // 255
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
4+4 =