node/test/disabled
James M Snell 85ab4a5f12 buffer: add .from(), .alloc() and .allocUnsafe()
Several changes:

* Soft-Deprecate Buffer() constructors
* Add `Buffer.from()`, `Buffer.alloc()`, and `Buffer.allocUnsafe()`
* Add `--zero-fill-buffers` command line option
* Add byteOffset and length to `new Buffer(arrayBuffer)` constructor
* buffer.fill('') previously had no effect, now zero-fills
* Update the docs

PR-URL: https://github.com/nodejs/node/pull/4682
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2016-03-16 08:34:02 -07:00
..
test-child-process-uid-gid.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-debug-brk-file.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
test-debug-brk-no-arg.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-dgram-send-error.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
test-eio-race.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-fs-largefile.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
test-http-abort-stream-end.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-https-loop-to-google.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-readline.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
test-sendfd.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
test-setuidgid.js test: enable linting for tests 2015-05-19 21:21:27 +02:00
tls_server.js test: fix messages and use return to skip tests 2015-08-03 21:32:48 +05:30