<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Binary on Commentary of Takao</title><link>https://takao.blog/es/tags/binary/</link><description>Recent content in Binary on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>es</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sun, 12 Jul 2026 04:12:51 +0900</lastBuildDate><atom:link href="https://takao.blog/es/tags/binary/index.xml" rel="self" type="application/rss+xml"/><item><title>Typed Arrays en JavaScript: Procesamiento de datos binarios en el navegador</title><link>https://takao.blog/es/web/js-typed-arrays/</link><pubDate>Tue, 10 Sep 2024 00:00:00 +0900</pubDate><guid>https://takao.blog/es/web/js-typed-arrays/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/js-typed-arrays-es.png" alt="Featured image of post Typed Arrays en JavaScript: Procesamiento de datos binarios en el navegador" /&gt;&lt;p&gt;El tipo &lt;code&gt;Number&lt;/code&gt; nativo de JavaScript es ineficiente para datos binarios. Los Typed Arrays (ES2015) traen gestión de memoria tipo C al navegador.&lt;/p&gt;
&lt;h2 id="arraybuffer"&gt;ArrayBuffer
&lt;/h2&gt;&lt;p&gt;Buffer binario raw de longitud fija. No se puede leer/escribir directamente — debe usarse una vista.&lt;/p&gt;
&lt;h2 id="vistas-typedarray"&gt;Vistas TypedArray
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Int8Array&lt;/code&gt;, &lt;code&gt;Uint8Array&lt;/code&gt;, &lt;code&gt;Float32Array&lt;/code&gt;, etc. Cada vista interpreta los bytes como un tipo numérico específico. &lt;code&gt;subarray()&lt;/code&gt; crea una subvista sin copia.&lt;/p&gt;
&lt;h2 id="dataview-para-estructuras-complejas"&gt;DataView para estructuras complejas
&lt;/h2&gt;&lt;p&gt;Permite lectura/escritura en offsets arbitrarios con tipo y endianness explícitos. Ideal para formatos binarios como BMP, PNG, WAV.&lt;/p&gt;</description></item></channel></rss>