{"json_modified": "2015-09-10T08:02:45.045337", "slug": "Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer", "tags": ["ArrayBuffer", "TypedArrays", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "Javascript", "ECMAScript7", "Method"], "locale": "ja", "title": "ArrayBuffer.transfer()", "translations": [{"title": "ArrayBuffer.transfer()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer", "tags": ["ArrayBuffer", "TypedArrays", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript7", "Method"], "summary": "The static ArrayBuffer.transfer()
method returns a new ArrayBuffer
whose contents are taken from the oldBuffer
's data and then is either truncated or zero-extended by newByteLength
. If newByteLength
is undefined
, the byteLength
of the oldBuffer
is used. This operation leaves oldBuffer
in a detached state.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-01T16:57:15", "review_tags": []}, {"title": "ArrayBuffer.transfer()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/ArrayBuffer/transfer", "tags": ["ArrayBuffer", "TypedArrays", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript7", "Method"], "summary": "La m\u00e9thode statique ArrayBuffer.transfer()
renvoie un nouvel objet ArrayBuffer
dont le contenu a \u00e9t\u00e9 transf\u00e9r\u00e9 depuis les donn\u00e9es d'ancienBuffer
et qui est soit tronqu\u00e9 soit compl\u00e9t\u00e9 avec des z\u00e9ros pour que la longueur du nouvel objet soit \u00e9gale \u00e0 nouvelleLongueur
. Si nouvelleLongueur
vaut undefined
, on utilisera la propri\u00e9t\u00e9 byteLength
de l'ancienBuffer
. Cette op\u00e9ration fait que ancienBuffer
sera dans un \u00e9tat d\u00e9tach\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2015-07-07T11:50:44", "review_tags": []}], "modified": "2015-09-10T08:02:44", "label": "ArrayBuffer.transfer()", "localization_tags": ["inprogress"], "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer", "last_edit": "2015-09-10T08:02:41", "summary": "\u9759\u7684\u306aArrayBuffer.transfer()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001oldBuffer
\u306e\u30c7\u30fc\u30bf\u304b\u3089\u5f97\u3089\u308c\u308b\u5185\u5bb9\u306e\u65b0\u3057\u3044ArrayBuffer
\u3092\u8fd4\u3057\u307e\u3059\u3002newByteLength
\u306b\u3088\u3063\u3066\u5207\u65ad\u3055\u308c\u308b\u304b\u30bc\u30ed\u62e1\u5f35\u3055\u308c\u307e\u3059\u3002newByteLength
\u304cundefined
\u306a\u3089\u3001oldBuffer
\u306ebyteLength
\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u3053\u306e\u64cd\u4f5c\u306f\u5207\u308a\u96e2\u3055\u308c\u305f\u72b6\u614b\u3067oldBuffer
\u3092\u898b\u6368\u3066\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u6982\u8981"}, {"id": "Syntax", "title": "\u69cb\u6587"}, {"id": "Parameters", "title": "\u5f15\u6570"}, {"id": "\u8aac\u660e", "title": "\u8aac\u660e"}, {"id": "\u4f8b", "title": "\u4f8b"}, {"id": "\u4ed5\u69d8", "title": "\u4ed5\u69d8"}, {"id": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "\u95a2\u9023\u60c5\u5831", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 151781, "review_tags": ["editorial"]}