mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
It will be confusing if later on we add Buffer#dispose(), and smalloc is
its own cpp api anyways. So instead create a new require('smalloc') to
expose the previous Buffer.alloc/dispose methods, and expose copyOnto
and kMaxLength as well.
Other changes:
* Added documentation and additional tests.
* smalloc::CopyOnto has changed from using assert() to throwing errors
on bad argument values because it is not exposed to the user.
* Minor style fixes.
38 lines
941 B
Markdown
38 lines
941 B
Markdown
* [About these Docs](documentation.html)
|
|
* [Synopsis](synopsis.html)
|
|
* [Assertion Testing](assert.html)
|
|
* [Buffer](buffer.html)
|
|
* [C/C++ Addons](addons.html)
|
|
* [Child Processes](child_process.html)
|
|
* [Cluster](cluster.html)
|
|
* [Console](console.html)
|
|
* [Crypto](crypto.html)
|
|
* [Debugger](debugger.html)
|
|
* [DNS](dns.html)
|
|
* [Domain](domain.html)
|
|
* [Events](events.html)
|
|
* [File System](fs.html)
|
|
* [Globals](globals.html)
|
|
* [HTTP](http.html)
|
|
* [HTTPS](https.html)
|
|
* [Modules](modules.html)
|
|
* [Net](net.html)
|
|
* [OS](os.html)
|
|
* [Path](path.html)
|
|
* [Process](process.html)
|
|
* [Punycode](punycode.html)
|
|
* [Query Strings](querystring.html)
|
|
* [Readline](readline.html)
|
|
* [REPL](repl.html)
|
|
* [Smalloc](smalloc.html)
|
|
* [Stream](stream.html)
|
|
* [String Decoder](string_decoder.html)
|
|
* [Timers](timers.html)
|
|
* [TLS/SSL](tls.html)
|
|
* [TTY](tty.html)
|
|
* [UDP/Datagram](dgram.html)
|
|
* [URL](url.html)
|
|
* [Utilities](util.html)
|
|
* [VM](vm.html)
|
|
* [ZLIB](zlib.html)
|