mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
859 B
39 lines
859 B
10 years ago
|
<h1 id="bufferobjects">Buffer objects</h1>
|
||
|
|
||
|
<h2>Overview of buffer types</h2>
|
||
|
|
||
|
<p>Duktape provides the following buffer and buffer-related types:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Plain buffer value</li>
|
||
|
<li>Duktape.Buffer object</li>
|
||
|
<li>Node.js Buffer object</li>
|
||
|
<li>ArrayBuffer object</li>
|
||
|
<li>DataView and TypedArray views</li>
|
||
|
</ul>
|
||
|
|
||
|
<p><b>FIXME: see buffers.rst for detailed discussion.</b></p>
|
||
|
|
||
|
<h2>Property summary</h2>
|
||
|
|
||
|
<p><b>FIXME.</b></p>
|
||
|
|
||
|
<h2>Buffers in Ecmascript code</h2>
|
||
|
|
||
|
<p><b>FIXME.</b></p>
|
||
|
|
||
|
<!-- FIXME: Duktape.Buffer(plainbuf), Buffer(plainbuf), ArrayBuffer(plainbuf) -->
|
||
|
|
||
|
<h2>Buffers in C code</h2>
|
||
|
|
||
|
<p><b>FIXME.</b></p>
|
||
|
|
||
|
<h2>Current limitations</h2>
|
||
|
|
||
|
<ul>
|
||
|
<li>See <a href="#typedarray-custombehavior">TypedArray binding</a> custom
|
||
|
behavior.</li>
|
||
|
<li>See <a href="#nodejsbuffer-custombehavior">Node.js Buffer binding</a> custom
|
||
|
behavior.</li>
|
||
|
</ul>
|