mirror of
https://github.com/nodejs/node.git
synced 2025-05-14 11:58:29 +00: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.
594 B
594 B
@include documentation @include synopsis @include globals @include console @include timers @include modules @include addons @include process @include util @include events @include domain @include buffer @include stream @include crypto @include tls @include string_decoder @include fs @include path @include net @include dgram @include dns @include http @include https @include url @include querystring @include punycode @include readline @include repl @include vm @include child_process @include assert @include tty @include zlib @include os @include debugger @include cluster @include smalloc