El responseType "arraybuffer" nos devuelve el contenido del recurso solicitado de servidor para utilizarlo desde JavaScript en forma de un objeto ArrayBuffer.
The "arraybuffer" responseType provides the contents of the requested server resource to JavaScript as an ArrayBuffer object.
Al igual que con los distintos tipos de arrays que comentábamos antes, Typed Arrays nos ofrece también un objeto DataView que podemos utilizar para leer y escribir los contenidos en un ArrayBuffer de manera no estructurada.
As well as the various array types introduced above, Typed Arrays also provide a DataView object that can be used to read and write the contents of an ArrayBuffer in an unstructured way.
No puedes manipular directamente el contenido de un ArrayBuffer; en su lugar, creas una vista de vector tipado o una DataView que representa al buffer en un formato específico, y usas eso para leer y escribir los contenidos del buffer.
You can't directly manipulate the contents of an ArrayBuffer; instead, you create a typed array view or a DataView which represents the buffer in a specific format, and use that to read and write the contents of the buffer.
Retorna el offset (en bytes) del Uint8Array desde el inicio de su ArrayBuffer.
Returns the offset (in bytes) of the Int16Array from the start of its ArrayBuffer.
Ver también La propiedad de acceso ArrayBuffer[@species] devuelve el constructor ArrayBuffer.
The ArrayBuffer[@species] accessor property returns the ArrayBuffer constructor.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple