{"json_modified": "2016-09-29T04:33:22.863638", "uuid": "e5b6cfe2-05d2-4b97-8884-19b2e665f0e7", "title": "JavaScript typed arrays", "url": "/en-US/docs/Web/JavaScript/Typed_arrays", "tags": ["Guide", "JavaScript"], "translations": [{"uuid": "ab8b5609-65ab-4d79-ad6e-a679fbbbea86", "title": "JavaScript typed arrays", "url": "/de/docs/Web/JavaScript/Typed_arrays", "tags": ["Guide", "JavaScript"], "summary": "Um maximal Flexibilit\u00e4t und Effizienz zu schaffen, spalten\u00a0JavaScript Typed-Arrays \u00a0die Durchf\u00fchrung zwischen Buffers und Views.\u00a0Ein Buffer (vom\u00a0ArrayBuffer
Objekt\u00a0durchgef\u00fchrt) ist ein Objekt, das eine Menge Daten verk\u00f6rpert. Dazu geh\u00f6rt kein\u00a0echtes Format, und keine Mechanismus wird angeboten, auf den\u00a0Inhalt zuzugreifen. Um Zugang zu diesem Speicher zu schaffen, muss man ein \"View\" benutzen. Ein View liefert einen Kontext, der diese Daten ein echtes,\u00a0typisiertes Array umwandelt. Genauer gesagt, gibt dieses Kontext\u00a0ein Typ, Addressabstand und die Anzahl der Elemente an.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-07-18T10:16:47", "review_tags": []}, {"uuid": "01b39aea-96bf-4f75-8946-d136d53ae125", "title": "Vectores JavaScript tipados", "url": "/es/docs/Web/JavaScript/Vectores_tipados", "tags": ["Gu\u00eda", "JavaScript"], "summary": "Los vectores\u00a0JavaScript tipados son objetos tipo Array y proveen un mecanismo para el acceso a datos binarios puros. Como sabes, los objetos del tipo\u00a0Array
crecen y decrecen din\u00e1micamente y pueden tener cualquier valor\u00a0JavaScript. Los motores JavaScript realizan optimizaciones y as\u00ed estos vectores\u00a0son veloces. Sin embargo, como las aplicaciones web se volvieron m\u00e1s y m\u00e1s poderosas, a\u00f1adiendo funcionalidades tales como la manipulaci\u00f3n de audio y video, acceso a datos puros usando WebSockets, etc\u00e9tera, ha quedado claro que hay ocasiones en que ser\u00eda beneficioso para el c\u00f3digo JavaScript tener la posibilidad de, r\u00e1pida y f\u00e1cilmente,\u00a0manipular\u00a0datos binarios puros en vectores tipados.", "localization_tags": [], "locale": "es", "last_edit": "2015-07-08T07:31:23", "review_tags": []}, {"uuid": "84b53a0c-bcdb-42a1-b469-f92871909f86", "title": "Les tableaux typ\u00e9s en JavaScript", "url": "/fr/docs/Web/JavaScript/Tableaux_typ%C3%A9s", "tags": ["Guide", "Typed Arrays", "Advanced", "JavaScript"], "summary": "Les tableaux typ\u00e9s JavaScript sont des objets semblables \u00e0 des tableaux qui permettent d'acc\u00e9der \u00e0 des donn\u00e9es binaires brutes. Pour rappel, les objets Array
qui repr\u00e9sentent des tableaux en JavaScript peuvent \u00eatre agrandis ou r\u00e9duits dynamiquement et permettent de stocker n'importe quelle valeur JavaScript. Afin que la manipulation de ces objets soit efficace, le moteur JavaScript applique un certain nombre d'optimisations. Cependant, avec les avanc\u00e9es r\u00e9alis\u00e9es (telles que les flux audio et vid\u00e9o avec WebRTC et les WebSockets), il devient n\u00e9cessaire de pouvoir manipuler des donn\u00e9es binaires brutes au sein de tableaux typ\u00e9s, c'est pour \u00e7a que ces objets ont \u00e9t\u00e9 introduits.", "localization_tags": [], "locale": "fr", "last_edit": "2016-08-18T07:48:35", "review_tags": []}, {"uuid": "b60c4861-0b03-4bb7-b6e1-d23928980984", "title": "Javascript typed arrays", "url": "/ja/docs/Web/JavaScript/Typed_arrays", "tags": ["Guide", "JavaScript"], "summary": "JavaScript \u306e\u578b\u4ed8\u304d\u914d\u5217\u306f\u914d\u5217\u72b6\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308a\u3001\u751f\u306e\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u624b\u6bb5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3059\u3067\u306b\u3054\u5b58\u77e5\u306e\u3068\u304a\u308a\u3001Array
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u52d5\u7684\u306b\u62e1\u5927\u307e\u305f\u306f\u7e2e\u5c0f\u3055\u308c\u3001\u4efb\u610f\u306e JavaScript \u5024\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002JavaScript \u30a8\u30f3\u30b8\u30f3\u306f\u3001\u3053\u308c\u3089\u306e\u914d\u5217\u3092\u9ad8\u901f\u5316\u3059\u308b\u305f\u3081\u306b\u6700\u9069\u5316\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3088\u308a\u5f37\u529b\u306b\u306a\u308a\u52d5\u753b\u3092\u64cd\u4f5c\u3059\u308b\u3001\u3042\u308b\u3044\u306f WebSocket \u3092\u4f7f\u7528\u3057\u3066\u751f\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u308b\u305f\u3081\u3001JavaScript \u30b3\u30fc\u30c9\u304c\u3088\u308a\u901f\u304f\u52d5\u4f5c\u3059\u308b\u3001\u307e\u305f\u578b\u4ed8\u304d\u914d\u5217\u306b\u3088\u308a\u751f\u306e\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306e\u64cd\u4f5c\u304c\u5bb9\u6613\u306b\u306a\u308b\u3053\u3068\u304c\u6709\u76ca\u3067\u3042\u308b\u3068\u8003\u3048\u3089\u308c\u308b\u306e\u306f\u660e\u3089\u304b\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-14T05:24:34", "review_tags": []}, {"uuid": "90c6f4a4-2040-44d8-aeac-42a5e73df7a0", "title": "JavaScript \ud615\uc2dd\ud654 \ubc30\uc5f4", "url": "/ko/docs/Web/JavaScript/Typed_arrays", "tags": ["Guide", "JavaScript"], "summary": "JavaScript \ud615\uc2dd\ud654 \ubc30\uc5f4(typed array)\uc740 \ubc30\uc5f4\uac19\uc740 \uac1d\uccb4\uc774\uace0 \uc6d0\uc2dc(raw) \uc774\uc9c4 \ub370\uc774\ud130\uc5d0 \uc561\uc138\uc2a4\ud558\uae30 \uc704\ud55c \uba54\ucee4\ub2c8\uc998\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubbf8 \uc544\uc2dc\ub2e4\uc2dc\ud53c, Array
\uac1d\uccb4\ub294 \ub3d9\uc801\uc73c\ub85c \ub298\uc5c8\ub2e4 \uc904\uace0 \uc5b4\ub5a4 JavaScript \uac12\uc774\ub4e0 \uac00\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. JavaScript \uc5d4\uc9c4\uc740 \uc774\ub7ec\ud55c \ubc30\uc5f4\uc774 \ube68\ub77c\uc9c0\ub3c4\ub85d \ucd5c\uc801\ud654\ub97c \uc218\ud589\ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098, audio \ubc0f video \uc870\uc791\uacfc \uac19\uc740 \uae30\ub2a5 \ucd94\uac00, WebSocket\uc744 \uc0ac\uc6a9\ud55c \uc6d0\uc2dc \ub370\uc774\ud130\uc5d0 \uc561\uc138\uc2a4 \ub4f1 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc810\uc810 \ub354 \uac15\ub825\ud574\uc9d0\uc5d0 \ub530\ub77c, \ube60\ub974\uace0 \uc27d\uac8c \ud615\uc2dd\ud654 \ubc30\uc5f4\uc758 \uc6d0\uc2dc \uc774\uc9c4 \ub370\uc774\ud130\ub97c \uc870\uc791\ud560 \uc218 \uc788\uac8c \ud558\ub294 \uac83\uc774 JavaScript \ucf54\ub4dc\uc5d0 \ub3c4\uc6c0\uc774 \ub420 \ub54c\uac00 \uc788\uc74c\uc774 \ubd84\uba85\ud574 \uc84c\uc2b5\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-07T05:31:27", "review_tags": []}, {"uuid": "3ad917ae-9c0d-47fb-b121-4bc474d47324", "title": "Tablice reprezentuj\u0105ce typy JavaScript", "url": "/pl/docs/Web/JavaScript/Typed_arrays", "tags": [], "summary": "Jako, \u017ce aplikacje internetowe staj\u0105 si\u0119 coraz bardziej pot\u0119\u017cne, zapewniaj\u0105c takie mo\u017cliwo\u015bci jak chocia\u017cby manipulacja audio i wideo, dost\u0119p do surowych danych u\u017cywaj\u0105c WebSocket, i tak dalej, sta\u0142o si\u0119 jasne, \u017ce s\u0105 sytuacje, w kt\u00f3rych przyda\u0142oby si\u0119, \u017ceby kod JavaScript by\u0142 w stanie szybko i \u0142atwo manipulowa\u0107 surowymi danymi binarnymi. W przesz\u0142o\u015bci, musia\u0142o by\u0107 to symulowane przez traktowanie surowych danych jako\u00a0string\u00a0i u\u017cywanie metody\u00a0charCodeAt(),
\u00a0aby przeczyta\u0107 bajty z buforu danych.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-04-23T08:24:49", "review_tags": []}, {"uuid": "fb4f1e9c-cd5f-41aa-a9ad-48058735dcd4", "title": "JavaScript typed arrays", "url": "/tr/docs/Web/JavaScript/Typed_arrays", "tags": [], "summary": "JavaScript typed arrays are array-like objects and provide a mechanism for accessing raw binary data. As you may already know, Array
objects grow and shrink dynamically and can have any JavaScript value. JavaScript engines perform optimizations so that these arrays are fast. However, as web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data in typed arrays.", "localization_tags": ["inprogress"], "locale": "tr", "last_edit": "2016-02-22T12:47:22", "review_tags": []}, {"uuid": "53f774c7-e57f-49ae-854d-d8e135c9d68d", "title": "JavaScript typed arrays", "url": "/zh-CN/docs/Web/JavaScript/Typed_arrays", "tags": [], "summary": "JavaScript\u7c7b\u578b\u6570\u7ec4\u662f\u4e00\u79cd\u5f62\u4f3c\u6570\u7ec4\u7684\u5bf9\u8c61\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u597d\u5730\u8bbf\u95ee\u4e8c\u8fdb\u5236\u6570\u636e\u7684\u673a\u5236\u3002\u968f\u7740\u7f51\u9875\u5e94\u7528\u53d8\u5f97\u65e5\u76ca\u5730\u5f3a\u5927, \u5404\u79cd\u65b0\u589e\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u97f3\u9891\u548c\u89c6\u9891\u5904\u7406\u3001\u901a\u8fc7 WebSockets \u76f4\u63a5\u8bbf\u95ee\u539f\u59cb\u6570\u636e\u7b49\u7b49, \u65e5\u76ca\u6e05\u6670\u5730\u662f\u6709\u65f6\u5019 JavaScript \u4ee3\u7801\u80fd\u591f\u5feb\u901f\u800c\u4e14\u65b9\u4fbf\u5730\u5904\u7406\u539f\u59cb\u6570\u636e\u8fd9\u5c06\u4f1a\u5bf9\u6211\u4eec\u5f88\u6709\u5e2e\u52a9. \u5728\u4ee5\u524d, \u5b9e\u73b0\u8fd9\u79cd\u5f62\u5f0f\u5730\u65b9\u5f0f\u662f\u5c06\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u5f53\u4f5c\u00a0string\u00a0\u6765\u7528\u5e76\u4e14\u4f7f\u7528\u00a0charCodeAt()
\u00a0\u65b9\u6cd5\u4ece\u6570\u636e\u7f13\u51b2\u533a(buffer)\u4e2d\u6765\u8bfb\u53d6\u5b57\u8282.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-07-28T23:20:59", "review_tags": []}, {"uuid": "228b7d5b-edb5-4851-89b7-19988866b6fb", "title": "JavaScript \u578b\u5225\u9663\u5217", "url": "/zh-TW/docs/Web/JavaScript/Typed_arrays", "tags": ["WebSockets"], "summary": "\u7576 Webapp \u6709\u4e86\u8996\u983b\u3001\u97f3\u983b\u64cd\u4f5c\u53ca\u7528 WebSockets \u5b58\u53d6\u539f\u59cb\u8cc7\u6599\u7b49\u7b49\u7684\u529f\u80fd\u800c\u8b8a\u5f97\u8d8a\u4f86\u8d8a\u5f37\u5927\uff0c\u8b93 JavaScript \u4ee3\u78bc\u53ef\u4ee5\u5feb\u901f\u3001\u7c21\u55ae\u5730\u64cd\u4f5c\u539f\u59cb\u4e8c\u9032\u5236\u8cc7\u6599\u7684\u597d\u8655\u5c31\u8d8a\u4f86\u8d8a\u660e\u986f\u3002\u4ee5\u524d\u552f\u4e00\u7684\u89e3\u6cd5\u662f\u8996\u539f\u59cb\u8cc7\u6599\u70ba\u5b57\u4e32\u4e26\u7528 charCodeAt()
\u65b9\u6cd5\u8b80\u53d6\u8cc7\u6599\u7de9\u885d\u7684\u4f4d\u5143\u7d44\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-06-20T19:55:52", "review_tags": []}], "modified": "2016-09-29T04:33:20", "label": "JavaScript typed arrays", "localization_tags": [], "locale": "en-US", "id": 446, "last_edit": "2015-12-29T16:05:47", "summary": "JavaScript typed arrays are array-like objects and provide a mechanism for accessing raw binary data. As you may already know, Array
objects grow and shrink dynamically and can have any JavaScript value. JavaScript engines perform optimizations so that these arrays are fast. However, as web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data in typed arrays.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Buffers_and_views_typed_array_architecture", "title": "Buffers and views: typed array architecture"}, {"id": "ArrayBuffer", "title": "ArrayBuffer"}, {"id": "Typed_array_views", "title": "Typed array views"}, {"id": "DataView", "title": "DataView"}, {"id": "Web_APIs_using_typed_arrays", "title": "Web APIs using typed arrays"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_views_with_buffers", "title": "Using views with buffers"}, {"id": "Multiple_views_on_the_same_data", "title": "Multiple views on the same data"}, {"id": "Working_with_complex_data_structures", "title": "Working with complex data structures"}, {"id": "Conversion_to_normal_arrays", "title": "Conversion to normal arrays"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Typed_arrays", "review_tags": []}