{"json_modified": "2016-06-22T14:41:43.225955", "uuid": "904a314c-821f-474c-9217-7d7264cd1122", "title": "Working with ArrayBuffers", "url": "/en-US/docs/Mozilla/js-ctypes/Using_js-ctypes/Working_with_ArrayBuffers", "tags": ["js-ctypes", "JavaScript"], "translations": [], "modified": "2016-06-22T14:41:43", "label": "Working with ArrayBuffers", "localization_tags": [], "locale": "en-US", "id": 149305, "last_edit": "2016-06-22T14:41:39", "summary": "ArrayBuffers are simply byte arrays. In js-ctypes this is a ctypes.uint8_t.array(###) (ctypes.unsigned_char are also ctypes.uint8_t).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Introductory_Reading", "title": "Introductory Reading"}, {"id": "Summary", "title": "Summary"}, {"id": "Demo_1_-_Image_Data", "title": "Demo 1 - Image Data"}, {"id": "Method_1_Passing_ArrayType_CData_to_Uint8ClampedArray.prototype.set", "title": "Method 1: Passing ArrayType CData to Uint8ClampedArray.prototype.set"}, {"id": "Method_2_Manually_Handled", "title": "Method 2: Manually Handled"}, {"id": "Method_3_Transfer_byte_array_by_calling_memcpy", "title": "Method 3: Transfer byte array by calling memcpy"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/js-ctypes/Using_js-ctypes/Working_with_ArrayBuffers", "review_tags": ["technical", "editorial"]}