Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

buffer in javascript

//In this example, we create a 8-byte buffer with a Int32Array view referring to the buffer:

const buffer = new ArrayBuffer(8);
const view = new Int32Array(buffer);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #buffer #javascript
ADD COMMENT
Topic
Name
8+3 =